mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-21 04:57:03 +08:00
Add missing '-> None' to all __init__ methods.
This commit is contained in:
1 parent
d2a3d4a4ed
commit
4fe8915d44
144 files changed
+580
-580
No files matched your search
@@ -29,7 +29,7 @@ __name__ = ... # type: str
|
||||
__package__ = ... # type: None
|
||||
|
||||
class date(object):
|
||||
def __init__(self, year: int, month: int, day: int): ...
|
||||
def __init__(self, year: int, month: int, day: int) -> None: ...
|
||||
@classmethod
|
||||
def fromtimestamp(cls, timestamp: int or float) -> date: ...
|
||||
@classmethod
|
||||
|
||||
Reference in new issue
Block a user