Skip to content

Commit

Permalink
Update _utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Apr 29, 2024
1 parent 138fe97 commit b2621e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyperf/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def python_has_jit():
implementation_name = python_implementation()
if implementation_name == 'pypy':
return sys.pypy_translation_info["translation.jit"]
elif implementation_name in ['graalpython', 'graalpy'] or (hasattr(sys, "pyston_version_info") or "pyston_lite" in sys.modules):
elif implementation_name in {'graalpython', 'graalpy'} or (hasattr(sys, "pyston_version_info") or "pyston_lite" in sys.modules):
return True
return False

Expand Down

0 comments on commit b2621e6

Please sign in to comment.