Skip to content

Commit

Permalink
resort _ast and ast modules
Browse files Browse the repository at this point in the history
The classes imported from the _ast module are defined in C,
but set their __module__ to ast. This arrangement ensures that
the type stubs have the same.

related to python#3968
and the disccusion in python#11141
  • Loading branch information
tungol committed Dec 14, 2023
1 parent 6c5dc24 commit bcda742
Show file tree
Hide file tree
Showing 2 changed files with 873 additions and 724 deletions.
Loading

0 comments on commit bcda742

Please sign in to comment.