mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Moved period outside paren, where it belongs.
This commit is contained in:
parent
cf76d1f0c7
commit
68f59415b6
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ Format String Syntax
|
||||||
|
|
||||||
The :meth:`str.format` method and the :class:`Formatter` class share the same
|
The :meth:`str.format` method and the :class:`Formatter` class share the same
|
||||||
syntax for format strings (although in the case of :class:`Formatter`,
|
syntax for format strings (although in the case of :class:`Formatter`,
|
||||||
subclasses can define their own format string syntax.)
|
subclasses can define their own format string syntax).
|
||||||
|
|
||||||
Format strings contain "replacement fields" surrounded by curly braces ``{}``.
|
Format strings contain "replacement fields" surrounded by curly braces ``{}``.
|
||||||
Anything that is not contained in braces is considered literal text, which is
|
Anything that is not contained in braces is considered literal text, which is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue