[Python-checkins] r65898 - python/trunk/Lib/symtable.py

benjamin.peterson python-checkins at python.org
Wed Aug 20 04:15:42 CEST 2008


Author: benjamin.peterson
Date: Wed Aug 20 04:15:42 2008
New Revision: 65898

Log:
fix silly errors of mine

Modified:
   python/trunk/Lib/symtable.py

Modified: python/trunk/Lib/symtable.py
==============================================================================
--- python/trunk/Lib/symtable.py	(original)
+++ python/trunk/Lib/symtable.py	Wed Aug 20 04:15:42 2008
@@ -15,7 +15,7 @@
     for top in raw.itervalues():
         if top.name == 'top':
             break
-    return newSymbolTable(top, filename)
+    return _newSymbolTable(top, filename)
 
 class SymbolTableFactory:
     def __init__(self):
@@ -110,12 +110,12 @@
         return [self.lookup(ident) for ident in self.get_identifiers()]
 
     def __check_children(self, name):
-        return [newSymbolTable(st, self._filename)
+        return [_newSymbolTable(st, self._filename)
                 for st in self._table.children
                 if st.name == name]
 
     def get_children(self):
-        return [newSymbolTable(st, self._filename)
+        return [_newSymbolTable(st, self._filename)
                 for st in self._table.children]
 
 


More information about the Python-checkins mailing list