diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-04-15 13:08:11 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-15 13:08:11 (GMT) |
| commit | 2c034700f88367df995a1e7bdc9668d99c4986b9 (patch) | |
| tree | 557dbcf93b3f4e0994a7ce1727fa935068186278 | |
| parent | b32d12495cc514f05579520875c95f964afc5b6c (diff) | |
| download | cpython-2c034700f88367df995a1e7bdc9668d99c4986b9.zip cpython-2c034700f88367df995a1e7bdc9668d99c4986b9.tar.gz cpython-2c034700f88367df995a1e7bdc9668d99c4986b9.tar.bz2 | |
bpo-40376: slightly improved the wording for os.getgrouplist (GH-19702) (GH-91557)
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>
(cherry picked from commit bd26ef5e9e701d2ab3509a49d9351259a3670772)
Co-authored-by: Jens Holzkämper <jens@holzkaemper.berlin>
| -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 2f7b370..9dc49a2 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -287,7 +287,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. |
