Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-40897:Give priority to using the current class constructor in `in…
…spect.signature` (GH-27177) (GH-27209) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 6aab5f9) Co-authored-by: Weipeng Hong <hongweichen8888@sina.com>
- Loading branch information
1 parent
ed2db9b
commit df7c629
Showing
3 changed files
with
59 additions
and
8 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
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Library/2021-07-16-13-40-31.bpo-40897.aveAre.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Give priority to using the current class constructor in | ||
:func:`inspect.signature`. Patch by Weipeng Hong. |