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

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]