Skip to content
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

Improve typing.py docstrings #105286

Closed
AlexWaygood opened this issue Jun 4, 2023 · 0 comments · Fixed by #105322
Closed

Improve typing.py docstrings #105286

AlexWaygood opened this issue Jun 4, 2023 · 0 comments · Fixed by #105322
Assignees

Comments

@AlexWaygood
Copy link
Member

AlexWaygood commented Jun 4, 2023

The docstrings in typing.py could do with a spring clean. As well as several small grammatical errors, there's also several details which are out of date; very inconsistent indentation in code examples; and numerous other small things that could be improved.

Linked PRs

@AlexWaygood AlexWaygood self-assigned this Jun 4, 2023
AlexWaygood added a commit that referenced this issue Jun 5, 2023
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue Jun 5, 2023
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
AlexWaygood added a commit that referenced this issue Jun 5, 2023
gh-105286: Improve `typing.py` docstrings (#105287)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue Jun 5, 2023
pythongh-105286: Improve `typing.py` docstrings (python#105287)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
ambv pushed a commit that referenced this issue Jun 5, 2023
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
AlexWaygood added a commit to AlexWaygood/cpython that referenced this issue Jun 6, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jun 7, 2023
…onGH-105363)

(cherry picked from commit 9a89f1b)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
JelleZijlstra pushed a commit to JelleZijlstra/cpython that referenced this issue Jun 7, 2023
pythonGH-105363).

(cherry picked from commit 9a89f1b)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
JelleZijlstra pushed a commit that referenced this issue Jun 7, 2023
…105363) (#105416)

gh-105286: Further improvements to `typing.py` docstrings (GH-105363)
(cherry picked from commit 9a89f1b)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
AlexWaygood added a commit that referenced this issue Jun 7, 2023
…105363) (#105417)

[3.11] gh-105286: Further improvements to `typing.py` docstrings (GH-105363).
(cherry picked from commit 9a89f1b)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant