summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2014-11-19 08:22:09 +0100
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2014-11-19 08:22:09 +0100
commit4446c1a7dfdffdd2581747e02a626e38734bbc18 (patch)
tree9de33d27b935c9a3cb3836bd2abad4eb5210af40
parent110387fe54f4d840424b40b977679f11945a7875 (diff)
downloadastroid-4446c1a7dfdffdd2581747e02a626e38734bbc18.tar.gz
fix function's prototype (bad copy/paste)
-rw-r--r--astroid/brain/py2stdlib.py2
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: