Skip to content

Commit

Permalink
base is not optional for int __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
Luka Sterbic committed Aug 30, 2017
1 parent 8050c17 commit 3a9b34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/3/builtins.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class int(SupportsInt, SupportsFloat, SupportsAbs[int]):
@overload
def __init__(self, x: Union[str, bytes, SupportsInt] = ...) -> None: ...
@overload
def __init__(self, x: Union[str, bytes], base: int = ...) -> None: ...
def __init__(self, x: Union[str, bytes], base: int) -> None: ...

def bit_length(self) -> int: ...
def to_bytes(self, length: int, byteorder: str, *, signed: bool = ...) -> bytes: ...
Expand Down

0 comments on commit 3a9b34a

Please sign in to comment.