Changed string formatting to f-strings by mrKazzila · Pull Request #8043 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

radarhere merged 3 commits intopython-pillow:mainfrom

mrKazzila:tmp/pr/move_to_f_str

May 5, 2024

Merged

Changed string formatting to f-strings#8043

radarhere merged 3 commits intopython-pillow:mainfrom

mrKazzila:tmp/pr/move_to_f_str

Conversation

@mrKazzila

Copy link Copy Markdown

Contributor

Changes proposed in this pull request:

  • Changed string formatting method to f-strings
  • Updated __repr__ method for PdfName class from f"PdfName({repr(self.name)})" to f"{self.__class__.__name__}({repr(self.name)})"

@aclark4life

Copy link Copy Markdown

Member

Ambitious!

mrKazzila reacted with heart emoji

@radarhere radarhere merged commit 93ca52f into python-pillow:main

May 5, 2024

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

Reviewers

@radarhere radarhere radarhere approved these changes

+1 more reviewer

@nulano nulano nulano approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@mrKazzila @aclark4life @radarhere @nulano