summaryrefslogtreecommitdiffstats
path: root/Tools/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/compiler')
-rw-r--r--Tools/compiler/compiler/pycodegen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/compiler/compiler/pycodegen.py b/Tools/compiler/compiler/pycodegen.py
index 2d4564a..444b065 100644
--- a/Tools/compiler/compiler/pycodegen.py
+++ b/Tools/compiler/compiler/pycodegen.py
@@ -1152,6 +1152,9 @@ class AbstractClassCode:
if klass.doc:
self.setDocstring(klass.doc)
+ def _nameOp(self, prefix, name):
+ self.emit(prefix + '_NAME', name)
+
def finish(self):
self.graph.startExitBlock()
self.emit('LOAD_LOCALS')