Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-100428: Make int documentation more accurate (pythonGH-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 edfbf56) Co-authored-by: Shantanu <[email protected]>
- Loading branch information