mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-09 19:21:26 +08:00
Use '...' instead of 'pass' for function bodies
This commit is contained in:
12
README.md
12
README.md
@@ -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