1. Andriy Kornatskyy
  2. wheezy.core

Commits

Andriy Kornatskyy  committed 3671176

Fixed minor misprints.

  • Participants
  • Parent commits d9eb758
  • Branches default

Comments (0)

Files changed (1)

File src/wheezy/core/collections.py

View file
  • Ignore whitespace
         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)