8000 Move comment to after the code block so the code block doesn't get in… · python/cpython@0135976 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0135976

Browse files
Move comment to after the code block so the code block doesn't get indented
1 parent c7e0e5e commit 0135976

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/functions.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,11 +1919,6 @@ are always available. They are listed here in alphabetical order.
19191919
Unlike the default behavior, it raises a :exc:`ValueError` if one iterable
19201920
is exhausted before the others:
19211921

1922-
..
1923-
This doctest is disabled because doctest does not support capturing
1924-
output and exceptions in the same code unit.
1925-
https://github.com/python/cpython/issues/65382
1926-
19271922
>>> for item in zip(range(3), ['fee', 'fi', 'fo', 'fum'], strict=True): # doctest: +SKIP
19281923
... print(item)
19291924
...
@@ -1934,6 +1929,11 @@ are always available. They are listed here in alphabetical order.
19341929
...
19351930
ValueError: zip() argument 2 is longer than argument 1
19361931

1932+
..
1933+
This doctest is disabled because doctest does not support capturing
1934+
output and exceptions in the same code unit.
1935+
https://github.com/python/cpython/issues/65382
1936+
19371937
Without the ``strict=True`` argument, any bug that results in iterables of
19381938
different lengths will be silenced, possibly manifesting as a hard-to-find
19391939
bug in another part of the program.

0 commit comments

Comments
 (0)
0