]> granicus.if.org Git - python/commitdiff
newSymbolTable is not public API
authorBenjamin Peterson <benjamin@python.org>
Wed, 20 Aug 2008 01:44:45 +0000 (01:44 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 20 Aug 2008 01:44:45 +0000 (01:44 +0000)
Lib/symtable.py

index 4a5662d2992f955424ac24bf52b288576eed2603..6b6e52909731f25eb6dc421d663150d782a520ea 100644 (file)
@@ -8,8 +8,7 @@ from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM,
 import warnings
 import weakref
 
-__all__ = ["symtable", "SymbolTable", "newSymbolTable", "Class",
-           "Function", "Symbol"]
+__all__ = ["symtable", "SymbolTable", "Class", "Function", "Symbol"]
 
 def symtable(code, filename, compile_type):
     raw = _symtable.symtable(code, filename, compile_type)
@@ -36,7 +35,7 @@ class SymbolTableFactory:
             obj = self.__memo[key] = self.new(table, filename)
         return obj
 
-newSymbolTable = SymbolTableFactory()
+_newSymbolTable = SymbolTableFactory()
 
 
 class SymbolTable(object):