.. versionadded:: 3.7
+.. data:: CLOCK_UPTIME_RAW
+
+ Clock that increments monotonically, tracking the time since an arbitrary
+ point, unaffected by frequency or time adjustments and not incremented while
+ the system is asleep.
+
+ .. availability:: macOS 10.12 and newer.
+
+ .. versionadded:: 3.8
+
+
The following constant is the only parameter that can be sent to
:func:`clock_settime`.
+
.. data:: CLOCK_REALTIME
System-wide real-time clock. Setting this clock requires appropriate
in the :class:`tkinter.Canvas` class.
(Contributed by Juliette Monsel in :issue:`23831`.)
+time
+----
+
+Added new clock :data:`~time.CLOCK_UPTIME_RAW` for macOS 10.12.
+(Contributed by Joannah Nanjekye in :issue:`35702`.)
+
unicodedata
-----------
--- /dev/null
+The :data:`time.CLOCK_UPTIME_RAW` constant is now available for macOS 10.12.
\ No newline at end of file
#ifdef CLOCK_UPTIME
PyModule_AddIntMacro(m, CLOCK_UPTIME);
#endif
+#ifdef CLOCK_UPTIME_RAW
+ PyModule_AddIntMacro(m, CLOCK_UPTIME_RAW);
+#endif
#endif /* defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES) */