]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #23214: Fix formatting of -1
authorMartin Panter <vadmium+py@gmail.com>
Fri, 21 Oct 2016 23:00:10 +0000 (23:00 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Fri, 21 Oct 2016 23:00:10 +0000 (23:00 +0000)
Doc/library/io.rst

index da7a681fa7cdcd328e1ccb24b77480b890f9a190..c8ff5b826d8b3f10df0ea652250923d4c5288c79 100644 (file)
@@ -485,7 +485,7 @@ I/O Base Classes
       implementing your own buffering on top of a :class:`BufferedIOBase`
       object.
 
-      If *size* is −1 (the default), an arbitrary number of bytes are
+      If *size* is ``-1`` (the default), an arbitrary number of bytes are
       returned (more than zero unless EOF is reached).
 
    .. method:: readinto(b)