"..." instead of ">>>" in tutorial docs
22 Feb
2022
22 Feb
'22
12:51 a.m.
https://github.com/python/cpython/blob/main/Doc/tutorial/controlflow.rst#key... 2nd code block of "for Statements" On line 2, "... words" (truncated) should be replaced with ">>> words" Full original block:
# Measure some strings: ... words = ['cat', 'window', 'defenestrate'] for w in words: ... print(w, len(w)) ... cat 3 window 6 defenestrate 12
Full corrected block:
# Measure some strings: words = ['cat', 'window', 'defenestrate'] for w in words: ... print(w, len(w)) ... cat 3 window 6 defenestrate 12
929
Age (days ago)
929
Last active (days ago)
0 comments
1 participants
participants (1)
-
Carl