bpo-28974: object.__format__(x, '') is now equivalent to str(x)#506
Merged
serhiy-storchaka merged 7 commits intopython:masterfrom May 13, 2017
Merged
Conversation
rather of `format(str(self), '')`.
|
@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @benjaminp, @Haypo, @tim-one, @birkenfeld and @larryhastings to be potential reviewers. |
vadmium
reviewed
Mar 6, 2017
Doc/reference/datamodel.rst
Outdated
| if passed any non-empty string. | ||
|
|
||
| .. versionchanged:: 3.7 | ||
| ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather of |
vadmium
reviewed
Mar 6, 2017
Doc/whatsnew/3.7.rst
Outdated
| ``from ... import ...`` fails. | ||
| (Contributed by Matthias Bussonnier in :issue:`29546`.) | ||
|
|
||
| * ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather of |
Member
There was a problem hiding this comment.
“Rather of” also needs fixing here and in NEWS :)
jaraco
pushed a commit
that referenced
this pull request
Dec 2, 2022
* Bump celery from 5.1.2 to 5.2.3 Bumps [celery](https://github.com/celery/celery) from 5.1.2 to 5.2.3. - [Release notes](https://github.com/celery/celery/releases) - [Changelog](https://github.com/celery/celery/blob/master/Changelog.rst) - [Commits](celery/celery@v5.1.2...v5.2.3) --- updated-dependencies: - dependency-name: celery dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update requirements.txt Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mariatta Wijaya <[email protected]>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rather of
format(str(self), '').