summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>2019-09-07 07:05:29 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-09-07 07:05:29 (GMT)
commit3ccdbc33385a849c60a268def578cb06b8d41be6 (patch)
treee351f3c2382fc62308365312f006333f26243ea8
parent38da805d563422cf1bb9cd9be24c73806840fe30 (diff)
downloadcpython-3ccdbc33385a849c60a268def578cb06b8d41be6.zip
cpython-3ccdbc33385a849c60a268def578cb06b8d41be6.tar.gz
cpython-3ccdbc33385a849c60a268def578cb06b8d41be6.tar.bz2
bpo-20806: Reference both times(2) and times(3) and link to MSDN. (GH-15479)
-rw-r--r--Doc/library/os.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 6cbfb74..67fe36b 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -3879,7 +3879,9 @@ written in Python, such as a mail server's external command delivery program.
:attr:`children_system`, and :attr:`elapsed` in that order.
See the Unix manual page
- :manpage:`times(2)` or the corresponding Windows Platform API documentation.
+ :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.