Make example in CONTRIBUTING the same as in the stub` (#6461)

Looks like I made an argument in `datetime.pyi` positional-only a while back, and didn't realise the class was given as an example in `CONTRIBUTING.md`.
This commit is contained in:
Alex Waygood
2021-11-30 21:35:44 +00:00
committed by GitHub
parent 3aa444b62f
commit 1c88ceeee9

View File

@@ -361,7 +361,7 @@ class date:
@classmethod
def today(cls: Type[_S]) -> _S: ...
@classmethod
def fromordinal(cls: Type[_S], n: int) -> _S: ...
def fromordinal(cls: Type[_S], __n: int) -> _S: ...
@property
def year(self) -> int: ...
def replace(self, year: int = ..., month: int = ..., day: int = ...) -> date: ...