[Python-checkins] cpython: Fix minor wording issue.

eric.araujo python-checkins at python.org
Thu Oct 6 13:24:05 CEST 2011


http://hg.python.org/cpython/rev/024e849b0d2c
changeset:   72728:024e849b0d2c
user:        Éric Araujo <merwok at netwok.org>
date:        Wed Oct 05 01:06:31 2011 +0200
summary:
  Fix minor wording issue.

sys.maxunicode is not called and thus does not return anything; it *is*
something.  (I checked the doc quickly to see if it tells that
expression return things but found nothing.)

I also removed markup that would just generate a useless link to the
enclosing section.

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


diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -629,7 +629,7 @@
    i.e. ``1114111`` (``0x10FFFF`` in hexadecimal).
 
    .. versionchanged:: 3.3
-      Before :pep:`393`, :data:`sys.maxunicode` used to return either ``0xFFFF``
+      Before :pep:`393`, ``sys.maxunicode`` used to be either ``0xFFFF``
       or ``0x10FFFF``, depending on the configuration option that specified
       whether Unicode characters were stored as UCS-2 or UCS-4.
 

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


More information about the Python-checkins mailing list