Add missing '-> None' to all __init__ methods.

This commit is contained in:
Matthias Kramm
2015-11-09 10:25:08 -08:00
parent d2a3d4a4ed
commit 4fe8915d44
144 changed files with 580 additions and 580 deletions

View File

@@ -27,7 +27,7 @@ class Dialect:
skipinitialspace = ... # type: Any
lineterminator = ... # type: Any
quoting = ... # type: Any
def __init__(self): ...
def __init__(self) -> None: ...
class excel(Dialect):
delimiter = ... # type: Any
@@ -65,13 +65,13 @@ class DictWriter:
restval = ... # type: Any
extrasaction = ... # type: Any
writer = ... # type: Any
def __init__(self, f, fieldnames, restval='', extrasaction='', dialect='', *args, **kwds): ...
def __init__(self, f, fieldnames, restval='', extrasaction='', dialect='', *args, **kwds) -> None: ...
def writeheader(self): ...
def writerow(self, rowdict): ...
def writerows(self, rowdicts): ...
class Sniffer:
preferred = ... # type: Any
def __init__(self): ...
def __init__(self) -> None: ...
def sniff(self, sample, delimiters=None): ...
def has_header(self, sample): ...