mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-21 04:57:03 +08:00
Use '...' instead of 'pass' for function bodies
This commit is contained in:
1 parent
c30fb8a6df
commit
c12e977403
36 files changed
+599
-599
No files matched your search
@@ -29,14 +29,14 @@ __name__ = Undefined(str)
|
||||
__package__ = Undefined(None)
|
||||
|
||||
class date(object):
|
||||
def __init__(self, year: int, month: int, day: int): pass
|
||||
def __init__(self, year: int, month: int, day: int): ...
|
||||
@classmethod
|
||||
def fromtimestamp(cls, timestamp: int or float) -> date: pass
|
||||
def fromtimestamp(cls, timestamp: int or float) -> date: ...
|
||||
@classmethod
|
||||
def fromordinal(cls, ordinal: int) -> date: pass
|
||||
def fromordinal(cls, ordinal: int) -> date: ...
|
||||
@classmethod
|
||||
def today(self) -> date: pass
|
||||
def ctime(self) -> str: pass
|
||||
def weekday(self) -> int: pass
|
||||
def today(self) -> date: ...
|
||||
def ctime(self) -> str: ...
|
||||
def weekday(self) -> int: ...
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user