Surround top-level function and class definitions with two blank lines.

This commit is contained in:
Joren Vrancken 2018-07-29 13:46:06 +02:00 committed by Toshio Kuratomi
parent 9e310558ee
commit b954917761
373 changed files with 408 additions and 28 deletions

View file

@ -77,6 +77,7 @@ def _fileobj_to_fd(fileobj):
raise ValueError("Invalid file descriptor: {0}".format(fd))
return fd
# Python 3.5 uses a more direct route to wrap system calls to increase speed.
if sys.version_info >= (3, 5):
def _syscall_wrapper(func, _, *args, **kwargs):
@ -305,6 +306,7 @@ class BaseSelector(object):
def __exit__(self, *args):
self.close()
# Almost all platforms have select.select()
if hasattr(select, "select"):
class SelectSelector(BaseSelector):