Skip to content

Commit

Permalink
Better writing in "interleaving" section
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
davepeck and AA-Turner authored Oct 21, 2024
1 parent 0836d12 commit cd1ee92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peps/pep-0750.rst
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ literals.
Interleaving of ``Template.args``
---------------------------------

As a detail of the ``Template`` type, the ``args`` attribute is a sequence that
alternates between string literals and ``Interpolation`` instances. Specifically:
In the ``Template`` type, the ``args`` attribute is a sequence that will always
alternate between string literals and ``Interpolation`` instances. Specifically:

- Even-indexed elements (0, 2, 4, ...) are always of type ``str``, representing
the literal parts of the template.
Expand Down

0 comments on commit cd1ee92

Please sign in to comment.