Commit 43e79da0 authored by Denis Bilenko's avatar Denis Bilenko

minor change in exception message

parent 09847a36
......@@ -241,7 +241,7 @@ class Hub(greenlet):
greenlet.__init__(self)
if hasattr(loop, 'run'):
if default is not None:
raise TypeError("Unexpected argument: 'default'")
raise TypeError("Unexpected argument: default")
self.loop = loop
else:
if default is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment