[Python-checkins] r65894 - python/trunk/Lib/symtable.py
benjamin.peterson
python-checkins at python.org
Wed Aug 20 03:44:45 CEST 2008
Author: benjamin.peterson
Date: Wed Aug 20 03:44:45 2008
New Revision: 65894
Log:
newSymbolTable is not public API
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 03:44:45 2008
@@ -8,8 +8,7 @@
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 @@
obj = self.__memo[key] = self.new(table, filename)
return obj
-newSymbolTable = SymbolTableFactory()
+_newSymbolTable = SymbolTableFactory()
class SymbolTable(object):
More information about the Python-checkins
mailing list