FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-145887: Use `write()` instead of `stream.write()` in `PrettyPrinter._pprint_frozendict` by devdanzin · Pull Request #145894 · python/cpython · GitHub

/ cpython Public

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

Merged
vstinner merged 1 commit into
python: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 into
python:mainfrom
devdanzin:pprint_frozendict_write

Conversation

devdanzin commented Mar 13, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

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

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

Copy link
Copy Markdown
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 :-)

ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL