mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-06 02:32:50 +08:00
datetime: mark positional-only args (#3791)
This commit is contained in:
1 parent
558d88ef92
commit
83833116bd
2 files changed
+1
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user