René's URL Explorer Experiment


Title: Update generics reference to use PEP 695 type parameter syntax by BHUVANSH855 · Pull Request #2242 · python/typing · GitHub

Open Graph Title: Update generics reference to use PEP 695 type parameter syntax by BHUVANSH855 · Pull Request #2242 · python/typing

X Title: Update generics reference to use PEP 695 type parameter syntax by BHUVANSH855 · Pull Request #2242 · python/typing

Description: This PR updates the reference/generics.rst documentation to reflect the modern type parameter syntax introduced in PEP 695. Changes include: Updating initial examples (e.g., Stack, Box) to use class Foo[T] syntax Adding a note explaining the transition from TypeVar/Generic to PEP 695 Retaining mention of older syntax for backward compatibility This improves consistency with the spec documentation and reduces confusion for users of Python 3.12+. Fixes #2227

Open Graph Description: This PR updates the reference/generics.rst documentation to reflect the modern type parameter syntax introduced in PEP 695. Changes include: Updating initial examples (e.g., Stack, Box) to use cla...

X Description: This PR updates the reference/generics.rst documentation to reflect the modern type parameter syntax introduced in PEP 695. Changes include: Updating initial examples (e.g., Stack, Box) to use cla...

Opengraph URL: https://github.com/python/typing/pull/2242

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:dae6a793-8660-d91a-0d35-a2cc5d589d58
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id85CA:3F9D33:6A333F:8F4B1A:6AFF8C6B
html-safe-noncec54c82f6054e744463715711ded3753bbe17399075d00a25f36ed40acac883ad
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUNBOjNGOUQzMzo2QTMzM0Y6OEY0QjFBOjZBRkY4QzZCIiwidmlzaXRvcl9pZCI6IjgyMDU1ODI4NDA5NjkwMDYxODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca2ccaf8f08923882c5c0df18b1b14ff1a2417a0d4990a5ef679b4be4655e2093
hovercard-subject-tagpull_request:3496141735
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/typing/pull/2242/files
twitter:imagehttps://avatars.githubusercontent.com/u/185269030?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/185269030?s=400&v=4
og:image:altThis PR updates the reference/generics.rst documentation to reflect the modern type parameter syntax introduced in PEP 695. Changes include: Updating initial examples (e.g., Stack, Box) to use cla...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None587ad99a3e443b2e1cb0d3df059ec49ab54389861f13310766dfdeb615fed90d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5bb0fb68d64881d1344f5863d809515d496801e5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typing/pull/2242/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2242%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2242%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Ftyping
Reloadhttps://github.com/python/typing/pull/2242/files
Reloadhttps://github.com/python/typing/pull/2242/files
Reloadhttps://github.com/python/typing/pull/2242/files
pythonhttps://github.com/python
typinghttps://github.com/python/typing
Codehttps://github.com/python/typing
Issues206 (206)https://github.com/python/typing/issues
Pull requests27 (27)https://github.com/python/typing/pulls
Discussionshttps://github.com/python/typing/discussions
Actionshttps://github.com/python/typing/actions
Security and qualityhttps://github.com/python/typing/security
Insightshttps://github.com/python/typing/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose
BHUVANSH855https://github.com/BHUVANSH855
python:mainhttps://github.com/python/typing/tree/main
BHUVANSH855:update-generics-pep695https://github.com/BHUVANSH855/typing/tree/update-generics-pep695
Conversation 47 https://github.com/python/typing/pull/2242
Commits 18 https://github.com/python/typing/pull/2242/commits
Checks 3 https://github.com/python/typing/pull/2242/checks
Files changed 1 https://github.com/python/typing/pull/2242/files
Update generics reference to use PEP 695 type parameter syntax https://github.com/python/typing/pull/2242/files#top
Show all changes 18 commits https://github.com/python/typing/pull/2242/files
9731d54 docs: consistently use PEP 695 syntax in generics reference BHUVANSH855 Apr 7, 2026 https://github.com/python/typing/pull/2242/commits/9731d545153849aeb2f51d628ae3f7837452076a
863fbf7 Merge branch 'main' into update-generics-pep695 BHUVANSH855 May 16, 2026 https://github.com/python/typing/pull/2242/commits/863fbf752f6a079745e740c33686fae8e436622d
a45ec7a Merge branch 'main' into update-generics-pep695 BHUVANSH855 May 18, 2026 https://github.com/python/typing/pull/2242/commits/a45ec7af68ed5cfaf906aa51deb043a2b045ff9a
9d1032e Merge branch 'main' into update-generics-pep695 BHUVANSH855 May 18, 2026 https://github.com/python/typing/pull/2242/commits/9d1032ef1773d64423f490830a01f37ae2907d6d
7564afc docs: improve wording for legacy syntax note BHUVANSH855 Jun 28, 2026 https://github.com/python/typing/pull/2242/commits/7564afc78bd7aae39a99ec38e0b8c8da88ffc44d
d551ced docs: addressed the review comments BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/d551ced772e8aacfa85d3941b8879cfbad0c534c
9a6993f Update docs/reference/generics.rst BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/9a6993f5d6d5f4764291558b0ed22cc6766e8e2f
5f78bd1 Update docs/reference/generics.rst BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/5f78bd1ede6572182dfddf1b2b70b958e4ff1ec8
8d3149b Update docs/reference/generics.rst BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/8d3149b123b055603021b10def1da0d2c4c4456b
19e637b Update docs/reference/generics.rst BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/19e637b12233f34b2e8ef9b125805dd867692123
4bc394d Update docs/reference/generics.rst BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/4bc394dafad7c94beeff4b07c8a7023a928a89ed
94d3e55 Update docs/reference/generics.rst BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/94d3e5535308c2f0d2b409b0d5179248b7f8b997
15db7cf Update docs/reference/generics.rst BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/15db7cfad2955ccd5ce5d5d918204ebc08a54fab
1b5e25f Update docs/reference/generics.rst BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/1b5e25f57f7a7dd77a22ebc2b5f766aec78ff3af
8fd00fe Update docs/reference/generics.rst BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/8fd00fe80317a48867eb4ce2e47f2cb2469b393d
0dc2a52 docs: addressed review comments BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/0dc2a52db26a68dd0cb26f0624d3c13351b890cb
b52f0f1 docs: fix collection.abc typos and remaining typing imports BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/b52f0f1d0e4b0aa37dcf04864994ae8f23f2756d
3298c69 docs: move Callable and Sequence imports to collections.abc in varian… BHUVANSH855 Oct 29, 2026 https://github.com/python/typing/pull/2242/commits/3298c6936d9287c51f9d0677e3baf88a70c88d07
Clear filters https://github.com/python/typing/pull/2242/files
Please reload this pagehttps://github.com/python/typing/pull/2242/files
Please reload this pagehttps://github.com/python/typing/pull/2242/files
Please reload this pagehttps://github.com/python/typing/pull/2242/files
Please reload this pagehttps://github.com/python/typing/pull/2242/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.