Skip to content

Remove bogus annotations from the descriptor howto guide - #112349

Merged
rhettinger merged 1 commit into
python:mainfrom
rhettinger:descr_howto_cleanup
Nov 23, 2023
Merged

rhettinger merged 1 commit into
python:mainfrom
rhettinger:descr_howto_cleanup

Conversation

@rhettinger

@rhettinger rhettinger commented Nov 23, 2023 •

Copy link
Copy Markdown
Contributor

These are distracting and add no value. We don't even use them in the main docs. Knowing type annotations is not a prerequisite for reading this guide. These lines aren't def statements so the the -> notation makes no sense and is out of context. Also -> value isn't even a valid type. It is just noise.


📚 Documentation preview 📚: https://cpython-previews--112349.org.readthedocs.build/

@rhettinger rhettinger added the needs backport to 3.11 only security fixes label Nov 23, 2023
@rhettinger
rhettinger merged commit d9fc152 into python:main Nov 23, 2023
@miss-islington-app

Copy link
Copy Markdown

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 23, 2023
…2349)

(cherry picked from commit d9fc152)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
@bedevere-app

bedevere-app Bot commented Nov 23, 2023

Copy link
Copy Markdown

GH-112350 is a backport of this pull request to the 3.11 branch.

@miss-islington-app

Copy link
Copy Markdown

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Nov 23, 2023

Copy link
Copy Markdown

GH-112352 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Nov 23, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 23, 2023
…2349)

(cherry picked from commit d9fc152)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
AlexWaygood pushed a commit that referenced this pull request Nov 23, 2023
…12349) (#112352)

Remove bogus annotations from the descriptor howto guide (GH-112349)
(cherry picked from commit d9fc152)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
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.

2 participants