[Python-checkins] cpython (3.4): asyncio: Sync with github
yury.selivanov
python-checkins at python.org
Tue Nov 17 12:02:51 EST 2015
https://hg.python.org/cpython/rev/eab47e37ad91
changeset: 99186:eab47e37ad91
branch: 3.4
parent: 99181:7ca6a13db0e5
user: Yury Selivanov <yselivanov at sprymix.com>
date: Tue Nov 17 12:02:21 2015 -0500
summary:
asyncio: Sync with github
files:
Lib/asyncio/tasks.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
--- a/Lib/asyncio/tasks.py
+++ b/Lib/asyncio/tasks.py
@@ -93,7 +93,6 @@
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 @@
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 @@
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:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list