diff options
Diffstat (limited to 'Lib/symtable.py')
-rw-r--r-- | Lib/symtable.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/symtable.py b/Lib/symtable.py index 4a5662d299..6b6e529097 100644 --- a/Lib/symtable.py +++ b/Lib/symtable.py @@ -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): |