mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
This commit is contained in:
parent
4931122de8
commit
c7b1a0bbe2
17 changed files with 25 additions and 25 deletions
|
@ -686,7 +686,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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue