diff options
author | Guido van Rossum <guido@dropbox.com> | 2013-11-01 21:20:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@dropbox.com> | 2013-11-01 21:20:55 (GMT) |
commit | a8d630a6e6190a4873a16a6a8c02f561e1e1c7fe (patch) | |
tree | 9a083c9b45a312245b7d785666cf9e1edb876706 /Lib/asyncio/base_events.py | |
parent | 3a703921a61d45718fdc01e29e2ae8e907d9f0a0 (diff) | |
download | cpython-a8d630a6e6190a4873a16a6a8c02f561e1e1c7fe.zip cpython-a8d630a6e6190a4873a16a6a8c02f561e1e1c7fe.tar.gz cpython-a8d630a6e6190a4873a16a6a8c02f561e1e1c7fe.tar.bz2 |
asyncio: Various style nits.
Diffstat (limited to 'Lib/asyncio/base_events.py')
-rw-r--r-- | Lib/asyncio/base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 6e409ea..a73b3d3 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -300,7 +300,7 @@ class BaseEventLoop(events.AbstractEventLoop): raise ValueError('You must set server_hostname ' 'when using ssl without a host') server_hostname = host - + if host is not None or port is not None: if sock is not None: raise ValueError( |