File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ def label(code):
172172 module in Python 2.5.
173173
174174 Note:
175- In Python >= 3.11 we use we return qualname for ``_name``.
175+ In Python >= 3.11 we return qualname for ``_name``.
176176 In older versions of Python we just return name.
177177 """
178178 if isinstance (code, str ):
@@ -275,7 +275,7 @@ cdef class _LineProfilerManager:
275275 Calls :c:func:`python_trace_callback()`. If
276276 :py:func:`sys.gettrace` returns this instance, replaces the
277277 default C-level trace function :c:func:`trace_trampoline` (see
278- the C implementation of :py:mod:sys`) with
278+ the C implementation of :py:mod:` sys`) with
279279 :c:func:`python_trace_callback` to reduce overhead.
280280
281281 Returns;
@@ -496,7 +496,7 @@ cdef class LineProfiler:
496496 cdef public object threaddata
497497
498498 # This is shared between instances and threads
499- _managers = {} # type: dict[int, _LineProfilerManager]
499+ _managers = {} # type: ClassVar[ dict[int, _LineProfilerManager] ]
500500
501501 def __init__ (self , *functions ,
502502 wrap_trace = None , set_frame_local_trace = None ):
You can’t perform that action at this time.
0 commit comments