Skip to content

Commit 36e4dde

Browse files
johnslavikCopilot
andcommitted
Restore MICROSECONDS_PER_SECOND to sampling/constants.pyi
It was removed in the first cleanup commit as "re-exported only internally", but pstats_collector.pyi legitimately imports it from sampling.constants — where it is actually defined in the source. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 978d61a commit 36e4dde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/profiling/sampling/constants.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
MICROSECONDS_PER_SECOND: int
12
PROFILING_MODE_WALL: int
23
PROFILING_MODE_CPU: int
34
PROFILING_MODE_GIL: int

0 commit comments

Comments
 (0)