#9747: fix copy-paste error in getresgid() doc.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 1080c7e..dda758f 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -7600,7 +7600,7 @@
 #ifdef HAVE_GETRESGID
 PyDoc_STRVAR(posix_getresgid__doc__,
 "getresgid() -> (rgid, egid, sgid)\n\n\
-Get tuple of the current process's real, effective, and saved user ids.");
+Get tuple of the current process's real, effective, and saved group ids.");
 
 static PyObject*
 posix_getresgid (PyObject *self, PyObject *noargs)