]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Aug 2022 15:02:33 +0000 (08:02 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Aug 2022 15:02:33 +0000 (08:02 -0700)
(cherry picked from commit df7c8b95372169fb9d23140d35f91970ba32189d)

Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
Doc/library/grp.rst

index fbfb922d3e0528ee4723d047910f696e67e05351..baa31752a2c750c73d7b0e8c79263fdd05a8c851 100644 (file)
@@ -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.