Skip to content

Commit bd393ae

Browse files
authored
Fix console prompt syntax in What's New in Python 3.8 (#124968)
1 parent 480354d commit bd393ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/whatsnew/3.8.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,9 @@ Other Language Changes
428428
normal assignment syntax::
429429

430430
>>> def parse(family):
431-
lastname, *members = family.split()
432-
return lastname.upper(), *members
433-
431+
... lastname, *members = family.split()
432+
... return lastname.upper(), *members
433+
...
434434
>>> parse('simpsons homer marge bart lisa maggie')
435435
('SIMPSONS', 'homer', 'marge', 'bart', 'lisa', 'maggie')
436436

0 commit comments

Comments
 (0)