Skip to content

Conversation

@AbduazizZiyodov
Copy link

I added new explanations to the part of the document that relates to that issue (after explanation of "type erasure").

Related issue: python/cpython#132467

@python-cla-bot
Copy link

python-cla-bot bot commented May 6, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@JelleZijlstra
Copy link
Member

I don't think this belongs in the typing spec since it's about runtime behavior.

@erictraut
Copy link
Collaborator

I agree with Jelle that this doesn't belong in the typing spec. We've intentionally avoided documenting runtime implementation details in the typing spec.

@AbduazizZiyodov
Copy link
Author

@JelleZijlstra @erictraut

Got you, thanks.

This part of the document(from typing docs) was "quoted" in the issue, I though that I should updated that part. Now I need to find out where I should document that behaviour in python docs.

If you have any suggestions, let me know, appreciated )

@JelleZijlstra
Copy link
Member

This could be added to https://docs.python.org/3.14/library/stdtypes.html#generic-alias-type

@AbduazizZiyodov AbduazizZiyodov deleted the docs-genericalias-isclass branch May 6, 2025 14:25
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.

3 participants