FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix generic default documentation by George-Ogden · Pull Request #2265 · python/typing · GitHub

/ typing Public

Fix generic default documentation - #2265

Open
George-Ogden wants to merge 2 commits into
python:mainfrom
George-Ogden:patch-1
Open

Fix generic default documentation#2265
George-Ogden wants to merge 2 commits into
python:mainfrom
George-Ogden:patch-1

Conversation

Copy link
Copy Markdown

Change the version defaults were added from Python 3.12 to Python 3.13

Pep 0695: https://peps.python.org/pep-0695/ says that the Python version is 3.12; however, it says in the docs that this was added in Python 3.13 (at the bottom of this section https://docs.python.org/3/library/typing.html#typing.TypeVar), and I'm getting a syntax error when I test this in Python 3.12.

Change the version defaults were added from Python 3.12 to Python 3.13
srittau added the topic: typing spec For improving the typing spec label Apr 19, 2026
Comment thread docs/spec/generics.rst Outdated
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: typing spec For improving the typing spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL