Skip to content

Commit 480633f

Browse files
committed
wip
1 parent 6e7b4c7 commit 480633f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

line_profiler/line_profiler.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ class LineProfiler(CLineProfiler):
6161
>>> profile = line_profiler.LineProfiler()
6262
>>> @profile
6363
>>> def func():
64-
>>> x1 = [_ for i in range(10)]
65-
>>> x2 = [_ for i in range(100)]
66-
>>> x3 = [_ for i in range(1000)]
64+
>>> x1 = list(range(10))
65+
>>> x2 = list(range(100))
66+
>>> x3 = list(range(1000))
6767
>>> func()
6868
>>> profile.print_stats()
6969
"""

0 commit comments

Comments
 (0)