Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5dc3d69

Browse files
committed
Fix Lint
1 parentb3890f4 commit5dc3d69

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

‎Lib/_pydatetime.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1888,7 +1888,6 @@ def fromisoformat(cls, date_string):
18881888
else:
18891889
ifbecame_next_day:
18901890
year,month,day=date_components
1891-
18921891
# Only wrap day/month when it was previously valid
18931892
ifmonth<=12andday<= (days_in_month:=_days_in_month(year,month)):
18941893
# Calculate midnight of the next day

‎Modules/_datetimemodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5521,7 +5521,6 @@ datetime_fromisoformat(PyObject *cls, PyObject *dtstr)
55215521
gotoinvalid_iso_midnight;
55225522
}
55235523
}
5524-
55255524
}
55265525
PyObject*dt=new_datetime_subclass_ex(year,month,day,hour,minute,
55275526
second,microsecond,tzinfo,cls);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp