Commits

Floris Bruynooghe  committed dcb818b

Add __slots__ for RLock

  • Participants
  • Parent commits 7bad1ed

Comments (0)

Files changed (1)

 # HG changeset patch
 # Parent f30a2fa65f30e993cf7cf6e2d76e23b302e30990
 # User Floris Bruynooghe <flub@devork.be>
-# Date 1314647307 -3600
+# Date 1314663268 -3600
 
 Create xthread package
 
 new file mode 100644
 --- /dev/null
 +++ b/eventlet/xthread.py
-@@ -0,0 +1,623 @@
+@@ -0,0 +1,624 @@
 +"""Cross-thread syncronisation primitives for eventlet
 +
 +This contains various syncronisation primitives for use with eventlet.
 +
 +    This follows the threading.RLock() interface, see those docs.
 +    """
++    __slots__ = ('_count',)
 +
 +    def __init__(self, hubcache=GLOBAL_HUBCACHE):
 +        Lock.__init__(self, hubcache=hubcache)