Lines Matching refs:symtable
4 import symtable
54 top = symtable.symtable(TEST_CODE, "?", "exec")
170 st1 = symtable.symtable('def f():\n x: int\n', 'test', 'exec')
175 st3 = symtable.symtable('def f():\n x = 1\n', 'test', 'exec')
182 st5 = symtable.symtable('global x\nx: int', 'test', 'exec')
187 st6 = symtable.symtable('def g():\n'
211 symtable.symtable(brokencode, "spam", "exec")
220 symtable.symtable("pass", b"spam", "exec")
223 symtable.symtable("pass", bytearray(b"spam"), "exec")
225 symtable.symtable("pass", memoryview(b"spam"), "exec")
227 symtable.symtable("pass", list(b"spam"), "exec")
230 symbols = symtable.symtable("42", "?", "eval")
233 symbols = symtable.symtable("42", "?", "single")
236 symbols = symtable.symtable("def f(x): return x", "?", "exec")
239 top = symtable.symtable(TEST_CODE.encode('utf8'), "?", "exec")
244 top = symtable.symtable(code, "?", "exec")