From 45dfb78276e205d1a502a7101e94a485e03e0f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Holzk=C3=A4mper?= Date: Fri, 24 Apr 2020 13:10:34 +0200 Subject: [PATCH] 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. --- Doc/library/os.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 943e67625c8eec..5c8804c6c13007 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -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.