]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] Fix type annotation of `pstats.FunctionProfile.ncalls` (GH-96741) (#96836)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Oct 2022 21:57:26 +0000 (14:57 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2022 21:57:26 +0000 (14:57 -0700)
commit6f23472345aedbba414620561ba89fa3cf6eda24
tree540ff9c21dd25ddad24dfc3fecc7d5c520a80ba3
parent9f1c9b1a7a04513fcc8a679fb1075701f37ab621
[3.10] Fix type annotation of `pstats.FunctionProfile.ncalls` (GH-96741) (#96836)

This change aligns the type annotation of `pstats.FunctionProfile.ncalls` with its runtime type.
(cherry picked from commit 8e9a37dde44c9fa0b961cb2db5dc8266e1f85d11)

Co-authored-by: Ruan Comelli <ruancomelli@gmail.com>
Lib/pstats.py
Misc/NEWS.d/next/Library/2022-09-15-00-37-33.gh-issue-96741.4b6czN.rst [new file with mode: 0644]