summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libgrp.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-03-01 10:38:44 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-03-01 10:38:44 (GMT)
commitdbd55b3737e122b4cc06473f7b48aa9c8f114551 (patch)
treefa8122d34b6f241e911c75e46452fe128647a3fe /Doc/lib/libgrp.tex
parent99866336094bd432860d32dd368f5934683939e7 (diff)
downloadcpython-dbd55b3737e122b4cc06473f7b48aa9c8f114551.zip
cpython-dbd55b3737e122b4cc06473f7b48aa9c8f114551.tar.gz
cpython-dbd55b3737e122b4cc06473f7b48aa9c8f114551.tar.bz2
Patch #523268, #522027: return enhanced tuples.
Diffstat (limited to 'Doc/lib/libgrp.tex')
-rw-r--r--Doc/lib/libgrp.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/libgrp.tex b/Doc/lib/libgrp.tex
index 8286081..473fc5e 100644
--- a/Doc/lib/libgrp.tex
+++ b/Doc/lib/libgrp.tex
@@ -9,10 +9,11 @@
This module provides access to the \UNIX{} group database.
It is available on all \UNIX{} versions.
-Group database entries are reported as 4-tuples containing the
-following items from the group database (see \code{<grp.h>}), in order:
+Group database entries are reported as a tuple-like object, whose
+attributes correspond to the members of the \code{group} structure
+(Attribute field below, see \code{<pwd.h>}):
-\begin{tableiii}{r|l|l}{textrm}{Index}{Field}{Meaning}
+\begin{tableiii}{r|l|l}{textrm}{Index}{Attribute}{Meaning}
\lineiii{0}{gr_name}{the name of the group}
\lineiii{1}{gr_passwd}{the (encrypted) group password; often empty}
\lineiii{2}{gr_gid}{the numerical group ID}