From 1c88ceeee924ec6cfe05dd4865776b49fec299e6 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 30 Nov 2021 21:35:44 +0000 Subject: [PATCH] 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`. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e81dc42e1..374356e35 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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: ...