[Jython-checkins] jython: Fixed the other SC_GLOBAL_EXPLICT typo in compiler/pycodegen.py

alex.gronholm jython-checkins at python.org
Wed Aug 6 19:12:40 CEST 2014


http://hg.python.org/jython/rev/ff62b98060a3
changeset:   7357:ff62b98060a3
user:        Alex Grönholm <alex.gronholm at nextday.fi>
date:        Wed Aug 06 20:12:15 2014 +0300
summary:
  Fixed the other SC_GLOBAL_EXPLICT typo in compiler/pycodegen.py

files:
  Lib/compiler/pycodegen.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/compiler/pycodegen.py b/Lib/compiler/pycodegen.py
--- a/Lib/compiler/pycodegen.py
+++ b/Lib/compiler/pycodegen.py
@@ -291,7 +291,7 @@
                 self.emit(prefix + '_NAME', name)
             else:
                 self.emit(prefix + '_FAST', name)
-        elif scope == SC_GLOBAL_EXPLICT:
+        elif scope == SC_GLOBAL_EXPLICIT:
             self.emit(prefix + '_GLOBAL', name)
         elif scope == SC_GLOBAL_IMPLICIT:
             if not self.optimized:

-- 
Repository URL: http://hg.python.org/jython


More information about the Jython-checkins mailing list