Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c80b9f6

Browse files
committed
fixup! Adjust message to be less wordy
1 parent 3c7c703 commit c80b9f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,7 @@ def utcfromtimestamp(cls, t):
18051805
warnings.warn("datetime.utcfromtimestamp() is deprecated and scheduled "
18061806
"for removal in a future version. Use timezone-aware "
18071807
"objects to represent datetimes in UTC: "
1808-
"datetime.fromtimestamp(t, datetime.UTC)."
1808+
"datetime.fromtimestamp(t, datetime.UTC).",
18091809
DeprecationWarning,
18101810
stacklevel=2)
18111811
return cls._fromtimestamp(t, True, None)

0 commit comments

Comments
 (0)