Skip to content

fix: standardize inner parts of reprs#1090

Merged
henryiii merged 1 commit intopypa:mainfrom
henryiii:henryiii/fix/reprs
Feb 12, 2026
Merged

fix: standardize inner parts of reprs#1090
henryiii merged 1 commit intopypa:mainfrom
henryiii:henryiii/fix/reprs

Conversation

@henryiii
Copy link
Copy Markdown
Contributor

This is a very small change to the workings of reprs to make them more consistent. It does not change the rerps themselves (yet).

  • Always use the class name so subclasses show their names instead
  • Consistently use str()!r vs. putting in quotes manually.

@henryiii henryiii merged commit d40bec3 into pypa:main Feb 12, 2026
44 checks passed
@henryiii henryiii deleted the henryiii/fix/reprs branch February 12, 2026 21:07
This was referenced Apr 13, 2026
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.

2 participants