Skip to content

[3.10] Corrections to format precision description. (GH-31291) #31320

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 14, 2022

  • precision field is a decimal integer
    • clarify that stated limitations are on presentation type
      rather than input value type. Especially misleading is
      "precision is not allowed for integer values", since integer
      value input to a format like .1f is fine.
    • regarding max field size, replace "non-number" with "string",
      which is the only non-numeric presentation type

Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit 1d6ce67)

Co-authored-by: John Belmonte john@neggie.net

Automerge-Triggered-By: GH:ericvsmith

* `precision` field is a decimal integer
  * clarify that stated limitations are on presentation type
    rather than input value type.  Especially misleading is
    "precision is not allowed for integer values", since integer
    value input to a format like `.1f` is fine.
  * regarding max field size, replace "non-number" with "string",
    which is the only non-numeric presentation type

Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit 1d6ce67)

Co-authored-by: John Belmonte <john@neggie.net>
@bedevere-bot bedevere-bot added the docs Documentation in the Doc dir label Feb 14, 2022
@miss-islington
Copy link
Contributor Author

@belm0: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Contributor Author

@belm0: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Contributor Author

@belm0: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 6a7dd3f into python:3.10 Feb 14, 2022
@miss-islington miss-islington deleted the backport-1d6ce67-3.10 branch February 14, 2022 00:21
@miss-islington
Copy link
Contributor Author

@belm0: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants