summaryrefslogtreecommitdiff
path: root/Lib/symtable.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-20 01:44:45 +0000
committerBenjamin Peterson <benjamin@python.org>2008-08-20 01:44:45 +0000
commit86da890a9e2f186bf47bb9b5754a99f3d3a93ed0 (patch)
tree2cb3eb3c1f948e970106217416fede85e35a68f4 /Lib/symtable.py
parente977ad4d7bda48451c70b72b221c9804b353ceb9 (diff)
downloadcpython-git-86da890a9e2f186bf47bb9b5754a99f3d3a93ed0.tar.gz
newSymbolTable is not public API
Diffstat (limited to 'Lib/symtable.py')
-rw-r--r--Lib/symtable.py5
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):