Skip to content

Commit

Permalink
Add missing __reduce__ method to builtins.object.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609075254
  • Loading branch information
rchen152 committed Feb 27, 2024
1 parent f8b2634 commit 54c0e05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytype/stubs/builtins/builtins.pytd
Original file line number Diff line number Diff line change
@@ -255,6 +255,7 @@ class object():
def __hash__(self) -> int: ...
def __setattr__(self, name, value) -> None: ...
def __getattribute__(self, name) -> Any: ...
def __reduce__(self) -> str | tuple[Any, ...]: ...
def __new__(cls: Type[_T]) -> _T: ...
# Used by special_builtins.Object to handler super.__new__.
@staticmethod

0 comments on commit 54c0e05

Please sign in to comment.