1
0
forked from VimPlug/jedi

Remove 3.6/3.7 references and change tests slightly

This commit is contained in:
Dave Halter
2025-06-16 16:17:50 +02:00
parent 4238198eea
commit e5a72695a8
8 changed files with 10 additions and 12 deletions

View File

@@ -109,7 +109,7 @@ def _expand_typestr(type_str):
yield type_str.split('of')[0]
# Check if type has is a set of valid literal values eg: {'C', 'F', 'A'}
elif type_str.startswith('{'):
node = parse(type_str, version='3.7').children[0]
node = parse(type_str, version='3.13').children[0]
if node.type == 'atom':
for leaf in getattr(node.children[1], "children", []):
if leaf.type == 'number':