bpo-40376: slightly improved the wording for os.getgrouplist
The documentation for os.getgrouplist potentially read like it returned all groups a user belongs to but it potentially doesn't.
This commit is contained in:
parent
e6f8abd500
commit
45dfb78276
|
@ -286,7 +286,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…
Reference in New Issue