We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f8c5b13 + b3f1629 commit 949fa73Copy full SHA for 949fa73
vmprof/__init__.py
@@ -68,7 +68,7 @@ def enable(fileno, period=DEFAULT_PERIOD, memory=False, lines=False, native=None
68
print('Line profiling is currently unsupported for PyPy. Running without lines statistics.\n')
69
native = _is_native_enabled(native)
70
#
71
- if MAJOR >= 5 and MINOR >= 9 and PATCH >= 0:
+ if (MAJOR, MINOR, PATCH) >= (5, 9, 0):
72
_vmprof.enable(fileno, period, memory, lines, native, real_time)
73
return
74
if real_time:
0 commit comments