https://github.com/python/cpython/commit/bd393aedb84a7d84d11a996bcbbf57cad90af7db
commit: bd393aedb84a7d84d11a996bcbbf57cad90af7db
branch: main
author: Nice Zombies <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-10-04T12:33:54+01:00
summary:
Fix console prompt syntax in What's New in Python 3.8 (#124968)
files:
M Doc/whatsnew/3.8.rst
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index d0e60bc280a217..fc9f49e65af847 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -428,9 +428,9 @@ Other Language Changes
normal assignment syntax::
>>> def parse(family):
- lastname, *members = family.split()
- return lastname.upper(), *members
-
+ ... lastname, *members = family.split()
+ ... return lastname.upper(), *members
+ ...
>>> parse('simpsons homer marge bart lisa maggie')
('SIMPSONS', 'homer', 'marge', 'bart', 'lisa', 'maggie')
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]