Skip to content

Conversation

serhiy-storchaka
Copy link
Member

rather of format(str(self), '').

@mention-bot
Copy link

@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.

@@ -1282,6 +1282,9 @@ Basic customization
The __format__ method of ``object`` itself raises a :exc:`TypeError`
if passed any non-empty string.

.. versionchanged:: 3.7
``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than (not rather of)

@@ -87,6 +87,10 @@ Other Language Changes
``from ... import ...`` fails.
(Contributed by Matthias Bussonnier in :issue:`29546`.)

* ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“Rather of” also needs fixing here and in NEWS :)

@serhiy-storchaka serhiy-storchaka merged commit 7e19dbc into python:master May 13, 2017
@serhiy-storchaka serhiy-storchaka deleted the bpo-28974-simpler-object-__format__ branch May 13, 2017 09:40
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] <support@github.com>

* Update requirements.txt

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants