8000 Fix datetime.strftime (#6317) · python/typeshed@7e22a9e · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e22a9e

Browse files
Fix datetime.strftime (#6317)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent d453b74 commit 7e22a9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/datetime.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class date:
5656
@property
5757
def day(self) -> int: ...
5858
def ctime(self) -> str: ...
59-
def strftime(self, fmt: str) -> str: ...
59+
def strftime(self, __format: str) -> str: ...
6060
def __format__(self, __fmt: str) -> str: ...
6161
def isoformat(self) -> str: ...
6262
def timetuple(self) -> struct_time: ...
@@ -128,7 +128,7 @@ class time:
128128
if sys.version_info >= (3, 7):
129129
@classmethod
130130
def fromisoformat(cls: Type[_S], __time_string: str) -> _S: ...
131-
def strftime(self, fmt: str) -> str: ...
131+
def strftime(self, __format: str) -> str: ...
132132
def __format__(self, __fmt: str) -> str: ...
133133
def utcoffset(self) -> timedelta | None: ...
134134
def tzname(self) -> str | None: ...

0 commit comments

Comments
 (0)
0