summaryrefslogtreecommitdiffstats
path: root/Lib/symtable.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/symtable.py')
-rw-r--r--Lib/symtable.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/symtable.py b/Lib/symtable.py
index ba2f0da..af65e93 100644
--- a/Lib/symtable.py
+++ b/Lib/symtable.py
@@ -222,6 +222,8 @@ class Class(SymbolTable):
if self.__methods is None:
d = {}
for st in self._table.children:
+ if st.type == _symtable.TYPE_ANNOTATION:
+ continue
d[st.name] = 1
self.__methods = tuple(d)
return self.__methods