diff options
Diffstat (limited to 'Demo/metaclasses')
-rw-r--r-- | Demo/metaclasses/Synch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/metaclasses/Synch.py b/Demo/metaclasses/Synch.py index 445ce83..e02f88f 100644 --- a/Demo/metaclasses/Synch.py +++ b/Demo/metaclasses/Synch.py @@ -4,7 +4,7 @@ This metaclass makes it possible to declare synchronized methods. """ -import thread +import _thread as thread # First we need to define a reentrant lock. # This is generally useful and should probably be in a standard Python |