mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
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 bd26ef5e9e)
Co-authored-by: Jens Holzkämper <jens@holzkaemper.berlin>
This commit is contained in:
parent
b32d12495c
commit
2c034700f8
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue