Issue #10278: Add an optional strict argument to time.steady(), False by default
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 63d45fd..fcee551 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -226,7 +226,7 @@
The earliest date for which it can generate a time is platform-dependent.
-.. function:: steady()
+.. function:: steady(strict=False)
.. index::
single: benchmarking
@@ -236,6 +236,11 @@
adjusted. The reference point of the returned value is undefined so only the
difference of consecutive calls is valid.
+ If available, a monotonic clock is used. By default, if *strict* is False,
+ the function falls back to another clock if the monotonic clock failed or is
+ not available. If *strict* is True, raise an :exc:`OSError` on error or
+ :exc:`NotImplementedError` if no monotonic clock is available.
+
.. versionadded:: 3.3