diff options
author | Shantanu <12621235+hauntsaninja@users.noreply.github.com> | 2023-01-02 03:14:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 03:14:18 (GMT) |
commit | edfbf56f4ca6588dfd20b53f534a4465e43c82bd (patch) | |
tree | 36b0635e200564524c3ad1c0c49a12b0b11d3517 /Python/compile.c | |
parent | b7a68ab824249ebf053b8149ebb83cd8578781c9 (diff) | |
download | cpython-edfbf56f4ca6588dfd20b53f534a4465e43c82bd.zip cpython-edfbf56f4ca6588dfd20b53f534a4465e43c82bd.tar.gz cpython-edfbf56f4ca6588dfd20b53f534a4465e43c82bd.tar.bz2 |
gh-100428: Make int documentation more accurate (#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.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions