Add minimal interface to symtable: _symtable module.

This commit is contained in:
Jeremy Hylton 2001-02-02 18:24:26 +00:00
parent 4b38da664c
commit 5e7cb240af
4 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,8 @@
from test_support import verify
import _symtable
symbols, scopes = _symtable.symtable("def f(x): return x", "?", "exec")
verify(symbols.has_key(0))
verify(scopes.has_key(0))