From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 2 Aug 2022 15:02:33 +0000 (-0700) Subject: gh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232) X-Git-Tag: v3.10.7~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a7bf2d28cdb3579cd33a9c9deb9b5d30eacb086;p=thirdparty%2FPython%2Fcpython.git gh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232) (cherry picked from commit df7c8b95372169fb9d23140d35f91970ba32189d) Co-authored-by: Adam Dangoor --- diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst index fbfb922d3e05..baa31752a2c7 100644 --- a/Doc/library/grp.rst +++ b/Doc/library/grp.rst @@ -38,7 +38,7 @@ accessible via :func:`getgrnam` or :func:`getgrgid`.) It defines the following items: -.. function:: getgrgid(gid) +.. function:: getgrgid(id) Return the group database entry for the given numeric group ID. :exc:`KeyError` is raised if the entry asked for cannot be found.