diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2014-11-19 08:22:09 +0100 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2014-11-19 08:22:09 +0100 |
commit | 4446c1a7dfdffdd2581747e02a626e38734bbc18 (patch) | |
tree | 9de33d27b935c9a3cb3836bd2abad4eb5210af40 | |
parent | 110387fe54f4d840424b40b977679f11945a7875 (diff) | |
download | astroid-4446c1a7dfdffdd2581747e02a626e38734bbc18.tar.gz |
fix function's prototype (bad copy/paste)
-rw-r--r-- | astroid/brain/py2stdlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/brain/py2stdlib.py b/astroid/brain/py2stdlib.py index b268517..5394c93 100644 --- a/astroid/brain/py2stdlib.py +++ b/astroid/brain/py2stdlib.py @@ -270,7 +270,7 @@ def infer_enum(node, context=None): context=context, enum=True)[0] return iter([class_node.instanciate_class()]) -def infer_enum_class(node, context=None): +def infer_enum_class(node): """ Specific inference for enums. """ names = set(('Enum', 'IntEnum', 'enum.Enum', 'enum.IntEnum')) for basename in node.basenames: |