The Python 3.6 requirement is now the lowest supported version

This commit is contained in:
Dave Halter
2021-12-25 13:37:35 +01:00
parent 929fa9b452
commit 96af7e4077
4 changed files with 1 additions and 9 deletions

View File

@@ -47,8 +47,6 @@ async def awaitable_test():
#? str() #? str()
foo foo
# python >= 3.6
async def asgen(): async def asgen():
yield 1 yield 1
await asyncio.sleep(0) await asyncio.sleep(0)

View File

@@ -1,5 +1,3 @@
# python >= 3.6
class Foo: class Foo:
bar = 1 bar = 1

View File

@@ -1,4 +1,3 @@
# python >= 3.6
from typing import List, Dict, overload, Tuple, TypeVar from typing import List, Dict, overload, Tuple, TypeVar
lst: list lst: list

View File

@@ -1,9 +1,6 @@
""" """
PEP 526 introduced a new way of using type annotations on variables. It was PEP 526 introduced a way of using type annotations on variables.
introduced in Python 3.6.
""" """
# python >= 3.6
import typing import typing
asdf = '' asdf = ''