mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 19:01:15 +08:00
add symtable.symtable (#1360)
https://docs.python.org/3/library/symtable.html#symtable.symtable and https://docs.python.org/2/library/symtable.html#symtable.symtable
This commit is contained in:
committed by
Matthias Kramm
parent
3ed17cdb49
commit
aeb19baa84
@@ -1,7 +1,7 @@
|
||||
# Stubs for symtable (Python 2 and 3)
|
||||
|
||||
import sys
|
||||
from typing import List, Sequence, Tuple
|
||||
from typing import List, Sequence, Tuple, Text
|
||||
|
||||
def symtable(code: Text, filename: Text, compile_type: Text) -> SymbolTable: ...
|
||||
|
||||
class SymbolTable(object):
|
||||
def get_type(self) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user