Skip to content

Commit 2d66675

Browse files
Fix indentation in example code block
1 parent 7005cc3 commit 2d66675

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Doc/library/functions.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,12 +1624,13 @@ are always available. They are listed here in alphabetical order.
16241624
Example:
16251625

16261626
.. code-block:: python
1627-
from time import sleep
1628-
# This call performs one write operation, so the newline inside the string
1629-
# does not trigger an immediate flush by itself.
1630-
print("Hello\nWorld")
1631-
sleep(3)
1632-
print("Hi there!")
1627+
1628+
from time import sleep
1629+
# This call performs one write operation, so the newline inside the string
1630+
# does not trigger an immediate flush by itself.
1631+
print("Hello\nWorld")
1632+
sleep(3)
1633+
print("Hi there!")
16331634
16341635
.. versionchanged:: 3.3
16351636
Added the *flush* keyword argument.

0 commit comments

Comments
 (0)