]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46216: remove spurious link to os.system() from os.time() documentation (GH-30326)
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Fri, 7 Jan 2022 18:28:08 +0000 (18:28 +0000)
committerGitHub <noreply@github.com>
Fri, 7 Jan 2022 18:28:08 +0000 (10:28 -0800)
Automerge-Triggered-By: GH:iritkatriel
Doc/library/os.rst

index 3e8fc54485e20262a6652f73dc68f0049fa73e19..eb3035344455ffccfb0507175ee8aa1ba686e8aa 100644 (file)
@@ -4254,20 +4254,20 @@ written in Python, such as a mail server's external command delivery program.
    Returns the current global process times.
    The return value is an object with five attributes:
 
-   * :attr:`user` - user time
-   * :attr:`system` - system time
-   * :attr:`children_user` - user time of all child processes
-   * :attr:`children_system` - system time of all child processes
-   * :attr:`elapsed` - elapsed real time since a fixed point in the past
+   * :attr:`!user` - user time
+   * :attr:`!system` - system time
+   * :attr:`!children_user` - user time of all child processes
+   * :attr:`!children_system` - system time of all child processes
+   * :attr:`!elapsed` - elapsed real time since a fixed point in the past
 
    For backwards compatibility, this object also behaves like a five-tuple
-   containing :attr:`user`, :attr:`system`, :attr:`children_user`,
-   :attr:`children_system`, and :attr:`elapsed` in that order.
+   containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`,
+   :attr:`!children_system`, and :attr:`!elapsed` in that order.
 
    See the Unix manual page
    :manpage:`times(2)` and :manpage:`times(3)` manual page on Unix or `the GetProcessTimes MSDN
    <https://docs.microsoft.com/windows/win32/api/processthreadsapi/nf-processthreadsapi-getprocesstimes>`_
-   on Windows. On Windows, only :attr:`user` and :attr:`system` are known; the other attributes are zero.
+   on Windows. On Windows, only :attr:`!user` and :attr:`!system` are known; the other attributes are zero.
 
    .. availability:: Unix, Windows.