Skip to content

Commit b2cd972

Browse files
bluetechJelleZijlstra
authored andcommitted
1 parent c7417e8 commit b2cd972

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/2/__builtin__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class int:
168168
def __rtruediv__(self, x: int) -> float: ...
169169
def __rmod__(self, x: int) -> int: ...
170170
def __rdivmod__(self, x: int) -> Tuple[int, int]: ...
171-
def __pow__(self, x: int) -> Any: ... # Return type can be int or float, depending on x.
171+
def __pow__(self, __x: int, __modulo: Optional[int] = ...) -> Any: ... # Return type can be int or float, depending on x.
172172
def __rpow__(self, x: int) -> Any: ...
173173
def __and__(self, n: int) -> int: ...
174174
def __or__(self, n: int) -> int: ...

stdlib/2and3/builtins.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class int:
168168
def __rtruediv__(self, x: int) -> float: ...
169169
def __rmod__(self, x: int) -> int: ...
170170
def __rdivmod__(self, x: int) -> Tuple[int, int]: ...
171-
def __pow__(self, x: int) -> Any: ... # Return type can be int or float, depending on x.
171+
def __pow__(self, __x: int, __modulo: Optional[int] = ...) -> Any: ... # Return type can be int or float, depending on x.
172172
def __rpow__(self, x: int) -> Any: ...
173173
def __and__(self, n: int) -> int: ...
174174
def __or__(self, n: int) -> int: ...

0 commit comments

Comments
 (0)