Skip to content

Commit 76e48de

Browse files
Refactor function documentation formatting
Remove extra blank lines and fix indentation for versionchanged directive.
1 parent 72a8ca7 commit 76e48de

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Doc/library/functions.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,6 @@ are always available. They are listed here in alphabetical order.
15441544
length 1, return its single byte value.
15451545
For example, ``ord(b'a')`` returns the integer ``97``.
15461546

1547-
15481547
.. function:: pow(base, exp, mod=None)
15491548

15501549
Return *base* to the power *exp*; if *mod* is present, return *base* to the
@@ -1586,7 +1585,6 @@ are always available. They are listed here in alphabetical order.
15861585
Allow keyword arguments. Formerly, only positional arguments were
15871586
supported.
15881587

1589-
15901588
.. function:: print(*objects, sep=' ', end='\n', file=None, flush=False)
15911589

15921590
Print *objects* to the text stream *file*, separated by *sep* and followed
@@ -1631,8 +1629,8 @@ are always available. They are listed here in alphabetical order.
16311629
sleep(3)
16321630
print("Hi there!")
16331631
1634-
.. versionchanged:: 3.3
1635-
Added the *flush* keyword argument.
1632+
.. versionchanged:: 3.3
1633+
Added the *flush* keyword argument.
16361634

16371635
.. class:: property(fget=None, fset=None, fdel=None, doc=None)
16381636

0 commit comments

Comments
 (0)