Skip to content

Commit 0360a72

Browse files
committed
Change profile.stack_collectors to singular
1 parent d534f1e commit 0360a72

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Lib/profile/sample.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
import pstats
44
import statistics
55
import time
6-
import sys
76
import sysconfig
87
from collections import deque
98
from _colorize import ANSIColors
109

1110
from .pstats_collector import PstatsCollector
12-
from .stack_collectors import CollapsedStackCollector
11+
from .stack_collector import CollapsedStackCollector
1312

1413
FREE_THREADED_BUILD = sysconfig.get_config_var("Py_GIL_DISABLED") is not None
1514

File renamed without changes.

Lib/test/test_sample_profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from unittest import mock
1313

1414
from profile.pstats_collector import PstatsCollector
15-
from profile.stack_collectors import (
15+
from profile.stack_collector import (
1616
CollapsedStackCollector,
1717
)
1818

0 commit comments

Comments
 (0)