We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1344cfa commit e0570a5Copy full SHA for e0570a5
Modules/_datetimemodule.c
@@ -5179,9 +5179,9 @@ static PyObject *
5179
datetime_utcfromtimestamp(PyObject *cls, PyObject *args)
5180
{
5181
if (PyErr_WarnEx(PyExc_DeprecationWarning,
5182
- "datetime.utcfromtimestamp() is deprecated and scheduled for removal "
+ "datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal "
5183
"in a future version. Use timezone-aware objects to represent "
5184
- "datetimes in UTC: datetime.fromtimestamp(timestamp, datetime.UTC).", 1))
+ "datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).", 1))
5185
5186
return NULL;
5187
}
0 commit comments