mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
version_info
This commit is contained in:
parent
f0160e54d8
commit
2f0b04f4e5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue