Skip to content

Commit 91de513

Browse files
committed
Minor fixes
1 parent 4c520f1 commit 91de513

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

peps/pep-0750.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Template strings evaluate to an instance of a new type, ``<<TBD>>.Template``:
176176
"""
177177
...
178178
179-
The ``strings`` and ``interpolation`` attributes provide access to the string
179+
The ``strings`` and ``interpolations`` attributes provide access to the string
180180
parts and any interpolations in the literal:
181181

182182
.. code-block:: python
@@ -186,7 +186,7 @@ parts and any interpolations in the literal:
186186
assert template.strings[0] == "Hello "
187187
assert template.interpolations[0].value == "World"
188188
189-
The ``Template`` type is shallow immutable. Its attributes cannot be reassigned.
189+
The ``Template`` type is immutable.
190190

191191

192192
The ``Interpolation`` Type
@@ -214,7 +214,7 @@ Like ``Template``, it is a new class found in the ``<<TBD>>`` module:
214214
):
215215
...
216216
217-
Like ``Template``, ``Interpolation`` is shallow immutable. Its attributes
217+
The ``Interpolation`` type is shallow immutable. Its attributes
218218
cannot be reassigned.
219219

220220
The ``value`` attribute is the evaluated result of the interpolation:

0 commit comments

Comments
 (0)