Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.10] gh-100428: Make int documentation more accurate (GH-100436)#100675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedJan 2, 2023
edited by bedevere-bot
Loading

  • 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 commitedfbf56)

Co-authored-by: Shantanu12621235+hauntsaninja@users.noreply.github.com

- 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 commitedfbf56)Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
@miss-islingtonmiss-islington merged commitc92c551 intopython:3.10Jan 2, 2023
@miss-islingtonmiss-islington deleted the backport-edfbf56-3.10 branchJanuary 2, 2023 03:21
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@hauntsaninjahauntsaninjahauntsaninja approved these changes

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@miss-islington@hauntsaninja@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp