Skip to content

Commit ab893bb

Browse files
committed
Clean up the format-specs-for-f-strings-only language and add a cross reference
1 parent 72bb6b1 commit ab893bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

peps/pep-0813.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ returns a string which is used as the f-string substitution value. Also for f-s
101101
specifier is fully compatible with the ``obj=`` form, e.g. ``f'{obj=!p:expression}'``. If no format
102102
spec is given, as above :py:func:`python:pprint.pformat` will be used.
103103

104-
Note that ``:expression`` format specs are *not* allowed in ``str.format()`` calls, at least for the
105-
initial implementation of this PEP.
104+
Note that format specs are *not* allowed in ``str.format()`` calls, at least for the :ref:`initial
105+
implementation <deferred>` of this PEP.
106106

107107

108108
Additions to the C-API
@@ -259,6 +259,8 @@ were used as the return types. Ultimately we rejected this because we don't wan
259259
define a new class or add any imports just to return values from this function.
260260

261261

262+
.. _deferred:
263+
262264
Deferred Ideas
263265
==============
264266

0 commit comments

Comments
 (0)