mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-21 18:42:07 +08:00
Akuli and srittau: Remove Python 2 branches from Python 3 stubs (#5461)
* run script and do some manual changes (Akuli) * do the whole thing manually (srittau) * merge changes (Akuli) Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
@@ -18,8 +18,7 @@ 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):
|
||||
else:
|
||||
def stack_effect(__opcode: int, __oparg: Optional[int] = ...) -> int: ...
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
hasnargs: List[int]
|
||||
hasnargs: List[int]
|
||||
|
||||
Reference in New Issue
Block a user