summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-19 00:28:40 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-19 00:28:40 (GMT)
commitbd858b75ce3c0528e1e7b97875d527dd85900138 (patch)
treedaf526c4cb317e78897e6ef1ba52aec93b7a23fb /Doc
parentcdb86f17bf4101b3702ef99e193cba15d882eb73 (diff)
downloadcpython-bd858b75ce3c0528e1e7b97875d527dd85900138.zip
cpython-bd858b75ce3c0528e1e7b97875d527dd85900138.tar.gz
cpython-bd858b75ce3c0528e1e7b97875d527dd85900138.tar.bz2
Turn last automatic footnote in this file into a manually-numbered one
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 044ecaf..30faddb 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2406,7 +2406,7 @@ Files have the following methods:
.. method:: file.readline([size])
Read one entire line from the file. A trailing newline character is kept in
- the string (but may be absent when a file ends with an incomplete line). [#]_
+ the string (but may be absent when a file ends with an incomplete line). [6]_
If the *size* argument is present and non-negative, it is a maximum byte
count (including the trailing newline) and an incomplete line may be
returned. When *size* is not 0, an empty string is returned *only* when EOF
@@ -3062,7 +3062,7 @@ The following attributes are only supported by :term:`new-style class`\ es.
.. [5] To format only a tuple you should therefore provide a singleton tuple whose only
element is the tuple to be formatted.
-.. [#] The advantage of leaving the newline on is that returning an empty string is
+.. [6] The advantage of leaving the newline on is that returning an empty string is
then an unambiguous EOF indication. It is also possible (in cases where it
might matter, for example, if you want to make an exact copy of a file while
scanning its lines) to tell whether the last line of a file ended in a newline