Commits

Andriy Kornatskyy  committed 3a2a052

Use __slots__ in Validator.

  • Participants
  • Parent commits 2bc064b

Comments (0)

Files changed (1)

File src/wheezy/validation/validator.py

     """ Container of validation rules that all together provide
         object validation.
     """
-    __SLOTS__ = ['rules', 'inner']
+    __slots__ = ('rules', 'inner')
 
     def __init__(self, mapping):
         # Split mapping by one that holds iteratable of rules and