KEMBAR78
[3.10] Fix type annotation of `pstats.FunctionProfile.ncalls` (GH-96741) by miss-islington · Pull Request #96836 · python/cpython · GitHub
Skip to content

Conversation

@miss-islington
Copy link
Contributor

  • fix: annotate pstats.FunctionProfile.ncalls as str

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

Co-authored-by: Ruan Comelli ruancomelli@gmail.com

* fix: annotate `pstats.FunctionProfile.ncalls` as `str`

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

Co-authored-by: Ruan Comelli <ruancomelli@gmail.com>
@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅.

@ambv ambv merged commit 6f23472 into python:3.10 Oct 5, 2022
@miss-islington miss-islington deleted the backport-8e9a37d-3.10 branch October 5, 2022 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants