summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-03-01 10:47:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-03-01 10:47:37 (GMT)
commit29001ff2341fe10a0f97c662b31c061cfad4fb5e (patch)
tree79613ebc2bd08c5d653e840ca40d31c425e7b925 /Doc/lib
parentdbd55b3737e122b4cc06473f7b48aa9c8f114551 (diff)
downloadcpython-29001ff2341fe10a0f97c662b31c061cfad4fb5e.zip
cpython-29001ff2341fe10a0f97c662b31c061cfad4fb5e.tar.gz
cpython-29001ff2341fe10a0f97c662b31c061cfad4fb5e.tar.bz2
Patch #523268, #522027: return enhanced tuples.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libpwd.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/libpwd.tex b/Doc/lib/libpwd.tex
index ae2551b..1e7a1c8 100644
--- a/Doc/lib/libpwd.tex
+++ b/Doc/lib/libpwd.tex
@@ -8,10 +8,11 @@
This module provides access to the \UNIX{} user account and password
database. It is available on all \UNIX{} versions.
-Password database entries are reported as 7-tuples containing the
-following items from the password database (see \code{<pwd.h>}), in order:
+Password database entries are reported as a tuple-like object, whose
+attributes correspond to the members of the \code{passwd} 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}{\code{pw_name}}{Login name}
\lineiii{1}{\code{pw_passwd}}{Optional encrypted password}
\lineiii{2}{\code{pw_uid}}{Numerical user ID}