Commit 580a827b by John Eskew

Add module-level global better

parent 8c77c650
...@@ -6,8 +6,8 @@ from .storage import TimingDataStorage ...@@ -6,8 +6,8 @@ from .storage import TimingDataStorage
class Globals(object): class Globals(object):
pass pass
__m = Globals()
global __m global __m
__m = Globals()
__m.nest_level = 0 __m.nest_level = 0
......
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