diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-26 11:49:59 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-26 11:49:59 (GMT) |
commit | 0264e46caa854803a5318d75ae7893e9174f3f70 (patch) | |
tree | d10de752a926c4d1ba8d8ff3e7fe7062854af202 /Doc/library/functions.rst | |
parent | 861b6859418e2cf747475f83471075c18baf74bd (diff) | |
parent | c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d (diff) | |
download | cpython-0264e46caa854803a5318d75ae7893e9174f3f70.zip cpython-0264e46caa854803a5318d75ae7893e9174f3f70.tar.gz cpython-0264e46caa854803a5318d75ae7893e9174f3f70.tar.bz2 |
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r-- | Doc/library/functions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index b4ad150..c26037b 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -692,7 +692,7 @@ are always available. They are listed here in alphabetical order. preceded by ``+`` or ``-`` (with no space in between) and surrounded by whitespace. A base-n literal consists of the digits 0 to n-1, with ``a`` to ``z`` (or ``A`` to ``Z``) having - values 10 to 35. The default *base* is 10. The allowed values are 0 and 2-36. + values 10 to 35. The default *base* is 10. The allowed values are 0 and 2--36. Base-2, -8, and -16 literals can be optionally prefixed with ``0b``/``0B``, ``0o``/``0O``, or ``0x``/``0X``, as with integer literals in code. Base 0 means to interpret exactly as a code literal, so that the actual base is 2, |