Skip to content

Commit 710f49a

Browse files
Refactor function documentation formatting
Remove extra blank lines and fix indentation for versionchanged directive.
1 parent 661aca5 commit 710f49a

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
@@ -1553,7 +1553,6 @@ are always available. They are listed here in alphabetical order.
15531553
length 1, return its single byte value.
15541554
For example, ``ord(b'a')`` returns the integer ``97``.
15551555

1556-
15571556
.. function:: pow(base, exp, mod=None)
15581557

15591558
Return *base* to the power *exp*; if *mod* is present, return *base* to the
@@ -1595,7 +1594,6 @@ are always available. They are listed here in alphabetical order.
15951594
Allow keyword arguments. Formerly, only positional arguments were
15961595
supported.
15971596

1598-
15991597
.. function:: print(*objects, sep=' ', end='\n', file=None, flush=False)
16001598

16011599
Print *objects* to the text stream *file*, separated by *sep* and followed
@@ -1640,8 +1638,8 @@ are always available. They are listed here in alphabetical order.
16401638
sleep(3)
16411639
print("Hi there!")
16421640
1643-
.. versionchanged:: 3.3
1644-
Added the *flush* keyword argument.
1641+
.. versionchanged:: 3.3
1642+
Added the *flush* keyword argument.
16451643

16461644
.. class:: property(fget=None, fset=None, fdel=None, doc=None)
16471645

0 commit comments

Comments
 (0)