summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/mixins.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncio/mixins.py')
-rw-r--r--Lib/asyncio/mixins.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/asyncio/mixins.py b/Lib/asyncio/mixins.py
index 650df05..c6bf973 100644
--- a/Lib/asyncio/mixins.py
+++ b/Lib/asyncio/mixins.py
@@ -5,20 +5,10 @@ from . import events
_global_lock = threading.Lock()
-# Used as a sentinel for loop parameter
-_marker = object()
-
class _LoopBoundMixin:
_loop = None
- def __init__(self, *, loop=_marker):
- if loop is not _marker:
- raise TypeError(
- f'As of 3.10, the *loop* parameter was removed from '
- f'{type(self).__name__}() since it is no longer necessary'
- )
-
def _get_loop(self):
loop = events._get_running_loop()