Commit 11f7c1ec authored by Stefan Behnel's avatar Stefan Behnel

Extend test to see if global name caching actually works.

parent 4510467d
# mode: run
# tag: pyglobal
"""
>>> getg()
5
>>> setg(42)
>>> getg()
42
>>> getg()
5
>>> getg()
5
>>> getg()
5
>>> setg(42)
>>> getg()
42
>>> getg()
42
>>> getg()
42
"""
g = 5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment