Skip to content

Conversation

@rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Nov 23, 2023

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

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
@bedevere-app
Copy link

bedevere-app bot commented Nov 23, 2023

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

@miss-islington-app
Copy link

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

@bedevere-app
Copy link

bedevere-app bot commented Nov 23, 2023

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
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 <[email protected]>
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