summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/base_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncio/base_events.py')
-rw-r--r--Lib/asyncio/base_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index ee34996..f94ec92 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -1043,7 +1043,7 @@ class BaseEventLoop(events.AbstractEventLoop):
except OSError as err:
raise OSError(err.errno, 'error while attempting '
'to bind on address %r: %s'
- % (sa, err.strerror.lower()))
+ % (sa, err.strerror.lower())) from None
completed = True
finally:
if not completed: