Issue #14711: os.stat_float_times() has been deprecated.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 8b8fc8f..094108a 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1721,6 +1721,10 @@
int newval = -1;
if (!PyArg_ParseTuple(args, "|i:stat_float_times", &newval))
return NULL;
+ if (PyErr_WarnEx(PyExc_DeprecationWarning,
+ "stat_float_times() is deprecated",
+ 1))
+ return NULL;
if (newval == -1)
/* Return old value */
return PyBool_FromLong(_stat_float_times);
@@ -3605,7 +3609,7 @@
PyObject *args;
PyObject *kwargs;
- /* input/output */
+ /* input/output */
PyObject **path;
/* output only */
@@ -3655,7 +3659,7 @@
timet[1] = ua.mtime_s
-/*
+/*
* utime_read_time_arguments() processes arguments for the utime
* family of functions.
*/