Skip to content

Commit

Permalink
bpo-40376: slightly improved the wording for os.getgrouplist (GH-19702)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
woodfighter and JelleZijlstra authored Apr 15, 2022
1 parent 2bf5f64 commit bd26ef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit bd26ef5

Please sign in to comment.