-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stubgen] Include simple decorators in stub files (#18489)
Stubgen historically only included a selected number of decorators in the generated stubs. I couldn't find the actual reason for it, however it's likely fair to assume that decorator typing only started being possible with PEP 612 thus most had been untyped previously. As it's fairly simple to annotate decorators with `ParamSpec` now, it's probably fair to include them in the stub file now.
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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