Fix goto tests.

This commit is contained in:
Dave Halter committed 2016-11-17 23:28:47 +01:00
1 parent d15016c5c1
commit 05581714d9
10 files changed
+114 -35

No files matched your search

+2
View File
@@ -68,6 +68,8 @@ class SpecialMethodFilter(DictFilter):
classes like Generator (for __next__, etc).
"""
class SpecialMethodName(AbstractNameDefinition):
api_type = 'function'
def __init__(self, parent_context, string_name, callable_, builtin_context):
self.parent_context = parent_context
self.string_name = string_name