10000 Fix datetime.strftime by karolyi · Pull Request #6317 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Fix datetime.strftime #6317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 1, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into patch-1
  • Loading branch information
JelleZijlstra authored Dec 1, 2021
commit 2471060686cf4eab40d94ccf10a4458e5aa90e48
10 changes: 5 additions & 5 deletions stdlib/datetime.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ class date:
@property
def day(self) -> int: ...
def ctime(self) -> str: ...
def strftime(self, format: str) -> str: ...
def __format__(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: ...
def toordinal(self) -> int: ...
Expand Down Expand Up @@ -127,9 +127,9 @@ class time:
def isoformat(self, timespec: str = ...) -> str: ...
if sys.version_info >= (3, 7):
@classmethod
def fromisoformat(cls: Type[_S], time_string: str) -> _S: ...
def strftime(self, format: str) -> str: ...
def __format__(self, fmt: str) -> str: ...
def fromisoformat(cls: Type[_S], __time_string: str) -> _S: ...
def strftime(self, __format: str) -> str: ...
def __format__(self, __fmt: str) -> str: ...
def utcoffset(self) -> timedelta | None: ...
def tzname(self) -> str | None: ...
def dst(self) -> timedelta | None: ...
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0