Re: C-API: Get scope in function
Perfect, this helped me a lot, thx! :) -- http://mail.python.org/mailman/listinfo/python-list
Re: C-API: Get scope in function
En Sun, 17 Jan 2010 10:23:03 -0300, moerchendiser2k3 escribió: I have a small problem how to get the scope from a C-API function. Check out this code snippet: [code] variable = 3 def test(): print variable #output: 3 print globals() # ... 'variable': 3, ... test() [/code In my ca