New submission from Emery Berger <emery.ber...@gmail.com>:

This is a minor documentation nit.

Under the entry for `os.times()`, there is a description of the various fields 
it returns (e.g., `user`, `system`).

```os.times()
Returns the current global process times. The return value is an object with 
five attributes:

user - user time

system - system time
```

For the latter, the word `system` is hyperlinked to the `os.system()` entry. 
This probably goes without saying, but there's no logical relationship of 
system time (time spent in the kernel on behalf of the process) to the system 
command (which invokes a command via a shell), so the link should be removed.

----------
assignee: docs@python
components: Documentation
messages: 409442
nosy: docs@python, emery.berger
priority: normal
severity: normal
status: open
title: spurious link to os.system() from os.times() documentation entry
versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 
3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46216>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to