Skip to content

fix: avoid double format in set __repr__ impl - #3236

Closed
muscar wants to merge 1 commit into
RustPython:mainfrom
muscar:fix/avoid-double-format-in-set-repr
Closed

muscar wants to merge 1 commit into
RustPython:mainfrom
muscar:fix/avoid-double-format-in-set-repr

Conversation

@muscar

@muscar muscar commented Oct 6, 2021

Copy link
Copy Markdown
Contributor

There's still a case when set's __repr__ implementation does a double format!() when it's subclassed.

This patch avoids the double format.

There's still a case when `set`'s `__repr__` implementation does a
double `format!()` when it's subclassed.

This patch avoids the double format.
@youknowone

Copy link
Copy Markdown
Member

I fixed it in #3234

@youknowone youknowone added the duplicate This issue or pull request already exists label Oct 6, 2021
@muscar muscar closed this Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants