mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-01 01:06:19 +08:00
clean python 3 specific stuff from stdlib/@python2 stubs (#5451)
This commit is contained in:
1 parent
f94d838814
commit
5ec4f06263
121 files changed
+1024
-4801
No files matched your search
@@ -14,12 +14,3 @@ opname: List[str]
|
||||
opmap: Dict[str, int]
|
||||
HAVE_ARGUMENT: int
|
||||
EXTENDED_ARG: int
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
def stack_effect(__opcode: int, __oparg: Optional[int] = ..., *, jump: Optional[bool] = ...) -> int: ...
|
||||
|
||||
elif sys.version_info >= (3, 4):
|
||||
def stack_effect(__opcode: int, __oparg: Optional[int] = ...) -> int: ...
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
hasnargs: List[int]
|
||||
Reference in new issue
Block a user