Skip to content

GH-132661: Add string.templatelib.convert() #135217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 15, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove documentation
  • Loading branch information
AA-Turner committed Jul 15, 2025
commit 321164a01ad9eb563ed789ac9530f80426f8bfbf
2 changes: 0 additions & 2 deletions Doc/library/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ Some simple format string examples::
"Weight in tons {0.weight}" # 'weight' attribute of first positional arg
"Units destroyed: {players[0]}" # First element of keyword argument 'players'.

.. _formatstrings-conversion:

The *conversion* field causes a type coercion before formatting. Normally, the
job of formatting a value is done by the :meth:`~object.__format__` method of the value
itself. However, in some cases it is desirable to force a type to be formatted
Expand Down
46 changes: 0 additions & 46 deletions Doc/library/string.templatelib.rst

This file was deleted.

1 change: 0 additions & 1 deletion Doc/library/text.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Python's built-in string type in :ref:`textseq`.
.. toctree::

string.rst
string.templatelib.rst
re.rst
difflib.rst
textwrap.rst
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy