diff options
author | Jens Holzkämper <jens@holzkaemper.berlin> | 2022-04-15 03:55:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-15 03:55:07 (GMT) |
commit | bd26ef5e9e701d2ab3509a49d9351259a3670772 (patch) | |
tree | 7c66382649f55de10e81b8e3f1f16d40c441edae /Doc | |
parent | 2bf5f64455c47eca082696291ba96e15e2f2299c (diff) | |
download | cpython-bd26ef5e9e701d2ab3509a49d9351259a3670772.zip cpython-bd26ef5e9e701d2ab3509a49d9351259a3670772.tar.gz cpython-bd26ef5e9e701d2ab3509a49d9351259a3670772.tar.bz2 |
bpo-40376: slightly improved the wording for os.getgrouplist (GH-19702)
The documentation for os.getgrouplist potentially read like it
returned all groups a user belongs to but it potentially doesn't.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 60eac2f..254d6e1 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -355,7 +355,8 @@ process and user. Return list of group ids that *user* belongs to. If *group* is not in the list, it is included; typically, *group* is specified as the group ID - field from the password record for *user*. + field from the password record for *user*, because that group ID will + otherwise be potentially omitted. .. availability:: Unix. |