Skip to content

gh-145887: Use write() instead of stream.write() in PrettyPrinter._pprint_frozendict#145894

Merged
vstinner merged 1 commit intopython:mainfrom
devdanzin:pprint_frozendict_write
Mar 13, 2026
Merged

gh-145887: Use write() instead of stream.write() in PrettyPrinter._pprint_frozendict#145894
vstinner merged 1 commit intopython:mainfrom
devdanzin:pprint_frozendict_write

Conversation

@devdanzin
Copy link
Member

@devdanzin devdanzin commented Mar 13, 2026

This trivial PR fixes a small error I introduced in #144908 by replacing stream.write() with write() in PrettyPrinter._pprint_frozendict.

@vstinner vstinner merged commit 0b6a234 into python:main Mar 13, 2026
49 checks passed
@vstinner
Copy link
Member

Usually, we don't accept coding style only changes, but here I'm feeling guilty of merging this silly error, so I merged your PR. Thanks for the fix :-)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants