summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/unix_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-08 23:09:35 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-01-08 23:09:35 (GMT)
commit12985b5da76d7737a79e471f96ee05303bf1ea25 (patch)
tree0d230536e8af04c7d7dc2a085d057da3d8467bae /Lib/asyncio/unix_events.py
parent540373310ea0c99a468cbeb140de97f9292eba2e (diff)
parent15cc678d8971f5ee1a7ea5e88bcd22413601f033 (diff)
downloadcpython-12985b5da76d7737a79e471f96ee05303bf1ea25.zip
cpython-12985b5da76d7737a79e471f96ee05303bf1ea25.tar.gz
cpython-12985b5da76d7737a79e471f96ee05303bf1ea25.tar.bz2
Merge 3.4 (asyncio)
Diffstat (limited to 'Lib/asyncio/unix_events.py')
-rw-r--r--Lib/asyncio/unix_events.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py
index d1461fd..91e43cf 100644
--- a/Lib/asyncio/unix_events.py
+++ b/Lib/asyncio/unix_events.py
@@ -69,7 +69,8 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):
"""
if (coroutines.iscoroutine(callback)
or coroutines.iscoroutinefunction(callback)):
- raise TypeError("coroutines cannot be used with add_signal_handler()")
+ raise TypeError("coroutines cannot be used "
+ "with add_signal_handler()")
self._check_signal(sig)
self._check_closed()
try: