mirror of
https://github.com/python/cpython.git
synced 2025-08-19 08:11:46 +00:00
[Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1)
This commit is contained in:
parent
a6e0f502ea
commit
3b015c46a5
2 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ class StringIO:
|
|||
return r
|
||||
|
||||
def readline(self, length=None):
|
||||
"""Read one entire line from the file.
|
||||
r"""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). If the size argument is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue