We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aa1708 commit da9ecafCopy full SHA for da9ecaf
pymongo/_asyncio_task.py
@@ -43,7 +43,6 @@ def cancelling(self) -> int:
43
return self._cancel_requests
44
45
46
-# We can directly pass an empty Context() object to create_task in Python >= 3.11
47
def create_task(coro: Coroutine[Any, Any, Any], *, name: Optional[str] = None) -> asyncio.Task:
48
if sys.version_info >= (3, 11):
49
return asyncio.create_task(coro, name=name)
0 commit comments