[Python-checkins] gh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232)

corona10 webhook-mailer at python.org
Mon Jul 25 05:54:50 EDT 2022


https://github.com/python/cpython/commit/df7c8b95372169fb9d23140d35f91970ba32189d
commit: df7c8b95372169fb9d23140d35f91970ba32189d
branch: main
author: Adam Dangoor <adamdangoor at gmail.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2022-07-25T18:54:42+09:00
summary:

gh-95233: Correct grp.getgrgid parameter name in documentation (gid -> id) (gh-95232)

files:
M Doc/library/grp.rst

diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst
index fbfb922d3e052..baa31752a2c75 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.



More information about the Python-checkins mailing list