[Python-checkins] cpython: Issue #23214: Fix formatting of -1

martin.panter python-checkins at python.org
Fri Oct 21 19:00:52 EDT 2016


https://hg.python.org/cpython/rev/2af6d94de492
changeset:   104632:2af6d94de492
user:        Martin Panter <vadmium+py at gmail.com>
date:        Fri Oct 21 23:00:10 2016 +0000
summary:
  Issue #23214: Fix formatting of -1

files:
  Doc/library/io.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/io.rst b/Doc/library/io.rst
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -485,7 +485,7 @@
       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)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list