summaryrefslogtreecommitdiffstats
path: root/Lib/contextlib.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-01-02 03:21:58 (GMT)
committerGitHub <noreply@github.com>2023-01-02 03:21:58 (GMT)
commitaf136e987777a2e81b63a170a370667c48815ead (patch)
tree13d1c62f8ceb7bb160d82259994ccbffab28e2ae /Lib/contextlib.py
parente7a2659b4c8d4f7ac045cd5b4b813b4fde9f67c1 (diff)
downloadcpython-af136e987777a2e81b63a170a370667c48815ead.zip
cpython-af136e987777a2e81b63a170a370667c48815ead.tar.gz
cpython-af136e987777a2e81b63a170a370667c48815ead.tar.bz2
gh-100428: Make int documentation more accurate (GH-100436)
- Remove first link to lexical definition of integer literal, since it doesn't apply (differs in handling of leading zeros, base needs to be explicitly specified, unicode digits are allowed) - Better describe handling of leading zeros, unicode digits, underscores - Base 0 does not work exactly as like a code literal, since it allows Unicode digits. Link code literal to lexical definition of integer literal. (cherry picked from commit edfbf56f4ca6588dfd20b53f534a4465e43c82bd) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Diffstat (limited to 'Lib/contextlib.py')
0 files changed, 0 insertions, 0 deletions