Skip to content

Commit 949fa73

Browse files
authored
Merge pull request #171 from mattip/master
BUG: fix version checking for PyPy 6.0.0
2 parents f8c5b13 + b3f1629 commit 949fa73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vmprof/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def enable(fileno, period=DEFAULT_PERIOD, memory=False, lines=False, native=None
6868
print('Line profiling is currently unsupported for PyPy. Running without lines statistics.\n')
6969
native = _is_native_enabled(native)
7070
#
71-
if MAJOR >= 5 and MINOR >= 9 and PATCH >= 0:
71+
if (MAJOR, MINOR, PATCH) >= (5, 9, 0):
7272
_vmprof.enable(fileno, period, memory, lines, native, real_time)
7373
return
7474
if real_time:

0 commit comments

Comments
 (0)