Lines Matching refs:symtable
4 import symtable
54 top = symtable.symtable(TEST_CODE, "?", "exec")
163 st1 = symtable.symtable('def f():\n x: int\n', 'test', 'exec')
168 st3 = symtable.symtable('def f():\n x = 1\n', 'test', 'exec')
175 st5 = symtable.symtable('global x\nx: int', 'test', 'exec')
180 st6 = symtable.symtable('def g():\n'
204 symtable.symtable(brokencode, "spam", "exec")
213 symtable.symtable("pass", b"spam", "exec")
216 symtable.symtable("pass", bytearray(b"spam"), "exec")
218 symtable.symtable("pass", memoryview(b"spam"), "exec")
220 symtable.symtable("pass", list(b"spam"), "exec")
223 symbols = symtable.symtable("42", "?", "eval")
226 symbols = symtable.symtable("42", "?", "single")
229 symbols = symtable.symtable("def f(x): return x", "?", "exec")
232 top = symtable.symtable(TEST_CODE.encode('utf8'), "?", "exec")
237 top = symtable.symtable(code, "?", "exec")