summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-11-17 17:02:32 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-11-17 17:02:32 (GMT)
commit7f324ba735dff39b7209717b646d3c96acd49ccf (patch)
tree837850fd711091a23ecebd8fdfefd0fbf57a53a5
parent4eccf4b1ac15b81c96b97d8c0cc87e7791c1b7f6 (diff)
parent0013ccedd1e9dd829a5966afc71c2363604b011d (diff)
downloadcpython-7f324ba735dff39b7209717b646d3c96acd49ccf.zip
cpython-7f324ba735dff39b7209717b646d3c96acd49ccf.tar.gz
cpython-7f324ba735dff39b7209717b646d3c96acd49ccf.tar.bz2
Merge 3.4
-rw-r--r--Lib/asyncio/tasks.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
index 21940f6..61f0645 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: