Skip to content

Commit 5c7ca79

Browse files
committed
wording and capitalization
1 parent df14e25 commit 5c7ca79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

peps/pep-0798.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,8 @@ cases:
343343
* The phrasing of some other existing error messages should similarly be
344344
adjusted to account for the presence of the new syntax, and/or to clarify
345345
ambiguous or confusing cases relating to unpacking more generally
346-
(particularly those mentioned in :ref:`pep798-moregeneral`), for example::
346+
(particularly the cases mentioned in :ref:`pep798-moregeneral`), for
347+
example::
347348

348349
>>> [*x if x else y]
349350
File "<stdin>", line 1
@@ -850,7 +851,7 @@ structures:
850851
851852
.. code:: javascript
852853
853-
// JavaScript
854+
// javascript
854855
[[1,2,3], [], [4,5]].flatMap(xs => [...xs, ...xs])
855856
856857
.. code:: haskell

0 commit comments

Comments
 (0)