gh-91323: Revert "Allow overriding a future compliance check in asyncio.Task (GH-32197)" (GH-95442)

This reverts commit d4bb38f82b.
This commit is contained in:
Łukasz Langa 2022-08-04 15:51:38 +02:00 committed by GitHub
parent d0d0154443
commit 0342c93a6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 122 deletions

View file

@ -63,12 +63,6 @@ For this purpose the following, *private* constructors are listed:
*context* argument is added.
.. method:: Task._check_future(future)
Return ``True`` if *future* is attached to the same loop as the task, ``False``
otherwise.
.. versionadded:: 3.11
Task lifetime support