Skip to content

docs: remove unnecessary PEP references in libraries guide#2288

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
BHUVANSH855:docs/remove-pep-references
May 16, 2026
Merged

docs: remove unnecessary PEP references in libraries guide#2288
JelleZijlstra merged 1 commit into
python:mainfrom
BHUVANSH855:docs/remove-pep-references

Conversation

@BHUVANSH855
Copy link
Copy Markdown
Contributor

Summary

This PR removes a few unnecessary PEP references from the Typing Python Libraries guide and replaces them with more user-focused wording and documentation references.

Changes made

  • Replaced the PEP 484 overload reference with typing.overload documentation wording.
  • Reworded the generic classes/functions section to refer to standard typing mechanisms instead of PEP 484.
  • Replaced the PEP 613 wording in the type alias example with direct TypeAlias terminology.

These changes align with the goal of preferring documentation-oriented references over direct PEP references where appropriate, while keeping important specification-related PEP references intact.

Related to #2150

@JelleZijlstra JelleZijlstra merged commit 9cd0a22 into python:main May 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants