Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b7aa6a

Browse files
authored
bpo-46216: remove spurious link to os.system() from os.time() documentation (GH-30326)
Automerge-Triggered-By: GH:iritkatriel
1 parent b127e70 commit 9b7aa6a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Doc/library/os.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4254,20 +4254,20 @@ written in Python, such as a mail server's external command delivery program.
42544254
Returns the current global process times.
42554255
The return value is an object with five attributes:
42564256

4257-
* :attr:`user` - user time
4258-
* :attr:`system` - system time
4259-
* :attr:`children_user` - user time of all child processes
4260-
* :attr:`children_system` - system time of all child processes
4261-
* :attr:`elapsed` - elapsed real time since a fixed point in the past
4257+
* :attr:`!user` - user time
4258+
* :attr:`!system` - system time
4259+
* :attr:`!children_user` - user time of all child processes
4260+
* :attr:`!children_system` - system time of all child processes
4261+
* :attr:`!elapsed` - elapsed real time since a fixed point in the past
42624262

42634263
For backwards compatibility, this object also behaves like a five-tuple
4264-
containing :attr:`user`, :attr:`system`, :attr:`children_user`,
4265-
:attr:`children_system`, and :attr:`elapsed` in that order.
4264+
containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`,
4265+
:attr:`!children_system`, and :attr:`!elapsed` in that order.
42664266

42674267
See the Unix manual page
42684268
:manpage:`times(2)` and :manpage:`times(3)` manual page on Unix or `the GetProcessTimes MSDN
42694269
<https://docs.microsoft.com/windows/win32/api/processthreadsapi/nf-processthreadsapi-getprocesstimes>`_
4270-
on Windows. On Windows, only :attr:`user` and :attr:`system` are known; the other attributes are zero.
4270+
on Windows. On Windows, only :attr:`!user` and :attr:`!system` are known; the other attributes are zero.
42714271

42724272
.. availability:: Unix, Windows.
42734273

0 commit comments

Comments
 (0)