datetime: mark positional-only args (#3791)

This commit is contained in:
Shantanu
2020-02-29 05:18:34 -08:00
committed by GitHub
parent 558d88ef92
commit 83833116bd
2 changed files with 1 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ class date:
def __init__(self, year: int, month: int, day: int) -> None: ...
@classmethod
def fromtimestamp(cls: Type[_S], t: float) -> _S: ...
def fromtimestamp(cls: Type[_S], __timestamp: float) -> _S: ...
@classmethod
def today(cls: Type[_S]) -> _S: ...
@classmethod

View File

@@ -91,7 +91,6 @@ dataclasses.dataclass
dataclasses.field
dataclasses.make_dataclass
dataclasses.replace
datetime.date.fromtimestamp
decimal.Decimal.from_float
decimal.setcontext
dis.stack_effect