Hi I have been looking through some Python code and I came across the keyword 'global'. I have looked through the docs and two or three Python programming books for a full explanation of what 'global' really means. Would I be correct in assuming that any variable prefixed with the keyword global would allow that variable to be accessible across translation units, in other words global is equivalent to the 'C' keyword 'extern' ? Also, does Python have the equivalent of the 'C' keyword 'static'? -- Best Regards John
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4