summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-05 21:57:26 (GMT)
committerGitHub <noreply@github.com>2022-10-05 21:57:26 (GMT)
commit6f23472345aedbba414620561ba89fa3cf6eda24 (patch)
tree540ff9c21dd25ddad24dfc3fecc7d5c520a80ba3 /Misc
parent9f1c9b1a7a04513fcc8a679fb1075701f37ab621 (diff)
downloadcpython-6f23472345aedbba414620561ba89fa3cf6eda24.zip
cpython-6f23472345aedbba414620561ba89fa3cf6eda24.tar.gz
cpython-6f23472345aedbba414620561ba89fa3cf6eda24.tar.bz2
[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>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-09-15-00-37-33.gh-issue-96741.4b6czN.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-09-15-00-37-33.gh-issue-96741.4b6czN.rst b/Misc/NEWS.d/next/Library/2022-09-15-00-37-33.gh-issue-96741.4b6czN.rst
new file mode 100644
index 0000000..e7f5331
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-09-15-00-37-33.gh-issue-96741.4b6czN.rst
@@ -0,0 +1 @@
+Corrected type annotation for dataclass attribute ``pstats.FunctionProfile.ncalls`` to be ``str``.