From 0013ccedd1e9dd829a5966afc71c2363604b011d Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Tue, 17 Nov 2015 12:02:21 -0500 Subject: [PATCH] asyncio: Sync with github --- Lib/asyncio/tasks.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index 21940f624c5..61f0645f97f 100644 --- a/Lib/asyncio/tasks.py +++ b/Lib/asyncio/tasks.py @@ -93,7 +93,6 @@ class Task(futures.Future): futures.Future.__del__(self) def _repr_info(self): - # Private method, do not use it. info = super()._repr_info() if self._must_cancel: @@ -222,7 +221,6 @@ class Task(futures.Future): return True def _step(self, value=None, exc=None): - # Private method, do not use it. assert not self.done(), \ '_step(): already done: {!r}, {!r}, {!r}'.format(self, value, exc) if self._must_cancel: @@ -286,7 +284,6 @@ class Task(futures.Future): self = None # Needed to break cycles when an exception occurs. def _wakeup(self, future): - # Private method, do not use it. try: future.result() except Exception as exc: