summaryrefslogtreecommitdiffstats
path: root/Doc/library/grp.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-08-02 15:02:14 (GMT)
committerGitHub <noreply@github.com>2022-08-02 15:02:14 (GMT)
commit698b52c8791122e1e2a0aaa8708544c1a7cda68f (patch)
tree784d31e23e4a3ec816f11ab638a18326fe26ac93 /Doc/library/grp.rst
parenteff6778899733042c803e3a2de80342b5cad7dce (diff)
downloadcpython-698b52c8791122e1e2a0aaa8708544c1a7cda68f.zip
cpython-698b52c8791122e1e2a0aaa8708544c1a7cda68f.tar.gz
cpython-698b52c8791122e1e2a0aaa8708544c1a7cda68f.tar.bz2
gh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232)
(cherry picked from commit df7c8b95372169fb9d23140d35f91970ba32189d) Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
Diffstat (limited to 'Doc/library/grp.rst')
-rw-r--r--Doc/library/grp.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst
index fbfb922..baa3175 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.