Skip to content

Commit

Permalink
Add readonly stub for object.__str__.
Browse files Browse the repository at this point in the history
Reviewed By: MaggieMoss

Differential Revision: D48251322

fbshipit-source-id: 1b256b9cad89220805adbd77a128d0c935157e69
  • Loading branch information
Pradeep Kumar Srinivasan authored and facebook-github-bot committed Aug 11, 2023
1 parent 01ae379 commit 5453111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/typeshed/typeshed/stdlib/builtins.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class object:
def __delattr__(self, __name: str) -> None: ...
def __eq__(self: ReadOnly[Self], __o: ReadOnly[object]) -> bool: ...
def __ne__(self, __o: object) -> bool: ...
def __str__(self) -> str: ... # noqa: Y029
def __str__(self: ReadOnly[Self]) -> str: ... # noqa: Y029
def __repr__(self: ReadOnly[Self]) -> str: ... # noqa: Y029
def __hash__(self) -> int: ...
def __format__(self, __format_spec: str) -> str: ...
Expand Down

0 comments on commit 5453111

Please sign in to comment.