Commits

Andriy Kornatskyy committed 3671176

Fixed minor misprints.

Comments (0)

Files changed (1)

src/wheezy/core/collections.py

         return item at ``index`` from the list. If ``key`` is not
         found return None.
     """
+    __slots__ = ('adaptee', 'index')
 
     def __init__(self, adaptee, index):
         """ ``adaptee`` must be defaultdict(list).
             ...
         AttributeError: ...
     """
-    __slots__ = []
+    __slots__ = ()
 
     def __setattr__(self, key, value):
         return super(attrdict, self).__setitem__(key, value)
         >>> d.d
         ''
     """
-    #__slots__ = []
+    __slots__ = ()
 
     def __setattr__(self, key, value):
         return super(defaultattrdict, self).__setitem__(key, value)