summaryrefslogtreecommitdiffstats
path: root/Doc/library/grp.rst
diff options
context:
space:
mode:
authorAdam Dangoor <adamdangoor@gmail.com>2022-07-25 09:54:42 (GMT)
committerGitHub <noreply@github.com>2022-07-25 09:54:42 (GMT)
commitdf7c8b95372169fb9d23140d35f91970ba32189d (patch)
tree9f6649d921c898daf385c82eab95b16bb95619d5 /Doc/library/grp.rst
parent310f94871a923f6cf3dc9259e732ce2376578b26 (diff)
downloadcpython-df7c8b95372169fb9d23140d35f91970ba32189d.zip
cpython-df7c8b95372169fb9d23140d35f91970ba32189d.tar.gz
cpython-df7c8b95372169fb9d23140d35f91970ba32189d.tar.bz2
gh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232)
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.