summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-20 02:15:42 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-08-20 02:15:42 (GMT)
commite6b5ba621f6f9a5463469cbc1873907e43be8bb8 (patch)
treee585c026e250d1a4f3ceddeba7902d358b57cfbb
parent86da890a9e2f186bf47bb9b5754a99f3d3a93ed0 (diff)
downloadcpython-e6b5ba621f6f9a5463469cbc1873907e43be8bb8.zip
cpython-e6b5ba621f6f9a5463469cbc1873907e43be8bb8.tar.gz
cpython-e6b5ba621f6f9a5463469cbc1873907e43be8bb8.tar.bz2
fix silly errors of mine
-rw-r--r--Lib/symtable.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/symtable.py b/Lib/symtable.py
index 6b6e529..9d58618 100644
--- a/Lib/symtable.py
+++ b/Lib/symtable.py
@@ -15,7 +15,7 @@ def symtable(code, filename, compile_type):
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 @@ class SymbolTable(object):
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]