bedevere-bot · GitHub

This change aligns the type annotation of `pstats.FunctionProfile.ncalls` with its runtime type.

@blurb-it

@ruancomelli

Merged

@kumaraditya303

AlexWaygood

JelleZijlstra

@blurb-it

@gpshead

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 15, 2022
* 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 pushed a commit to miss-islington/cpython that referenced this pull request

Sep 15, 2022
* 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>

AlexWaygood added a commit to python/typeshed that referenced this pull request

Sep 15, 2022

Merged

@ruancomelli

ruancomelli deleted the fix-pstats-functionprofile-ncalls-annotation branch

September 15, 2022 10:20

AlexWaygood added a commit to python/typeshed that referenced this pull request

Sep 15, 2022

ambv pushed a commit that referenced this pull request

Oct 5, 2022
…) (#96835)
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>

ambv pushed a commit that referenced this pull request

Oct 5, 2022
…) (#96836)
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>

Read the original on github.com ↗