version_info

This commit is contained in:
Anthony Scopatz 2019-10-03 10:27:38 -04:00 committed by GitHub
parent f0160e54d8
commit 2f0b04f4e5
Failed to generate hash of commit

View file

@ -370,7 +370,7 @@ print(check_output(["echo", "hello"]).decode("utf8"))
"""
import sys
if sys.version_tuple[:2] >= (3, 7):
if sys.version_info[:2] >= (3, 7):
with open("sourced-file.xsh", "w") as f:
f.write('''
from contextvars import ContextVar