Skip to content

Stubs: do not emit __str__ and __repr__ overrides - #6607

Draft
Tpt wants to merge 1 commit into
PyO3:mainfrom
Tpt:tpt/PYI029
Draft

Tpt wants to merge 1 commit into
PyO3:mainfrom
Tpt:tpt/PYI029

Conversation

@Tpt

@Tpt Tpt commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

They are already implemented by object so adding them to the stubs do not bring much information. They are still emitted if the signature is not the same one as object.

Makes PYI029 lint pass

They are already implemented by `object` so adding them to the stubs do not bring much information. They are still emitted if the signature is not the same one as `object`.

Makes `PYI029` lint pass

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant