Skip to content

Commit

Permalink
Fix datetime.strftime (#6317)
Browse files Browse the repository at this point in the history
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
  • Loading branch information
karolyi and JelleZijlstra authored Dec 1, 2021
1 parent d453b74 commit 7e22a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/datetime.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class date:
@property
def day(self) -> int: ...
def ctime(self) -> str: ...
def strftime(self, fmt: str) -> str: ...
def strftime(self, __format: str) -> str: ...
def __format__(self, __fmt: str) -> str: ...
def isoformat(self) -> str: ...
def timetuple(self) -> struct_time: ...
Expand Down Expand Up @@ -128,7 +128,7 @@ class time:
if sys.version_info >= (3, 7):
@classmethod
def fromisoformat(cls: Type[_S], __time_string: str) -> _S: ...
def strftime(self, fmt: str) -> str: ...
def strftime(self, __format: str) -> str: ...
def __format__(self, __fmt: str) -> str: ...
def utcoffset(self) -> timedelta | None: ...
def tzname(self) -> str | None: ...
Expand Down

0 comments on commit 7e22a9e

Please sign in to comment.