File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,10 +8,11 @@ \section{\module{pwd} ---
88This module provides access to the \UNIX {} user account and password
99database. It is available on all \UNIX {} versions.
1010
11- Password database entries are reported as 7-tuples containing the
12- following items from the password database (see \code {<pwd.h>}), in order:
11+ Password database entries are reported as a tuple-like object, whose
12+ attributes correspond to the members of the \code {passwd} structure
13+ (Attribute field below, see \code {<pwd.h>}):
1314
14- \begin {tableiii }{r|l|l}{textrm}{Index}{Field }{Meaning}
15+ \begin {tableiii }{r|l|l}{textrm}{Index}{Attribute }{Meaning}
1516 \lineiii {0}{\code {pw_name}}{Login name}
1617 \lineiii {1}{\code {pw_passwd}}{Optional encrypted password}
1718 \lineiii {2}{\code {pw_uid}}{Numerical user ID}
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ Core and builtins
1717
1818Extension modules
1919
20+ - pwd and grp return enhanced tuples now, with symbolic field names.
21+
2022- array.array is now a type object. A new format character
2123 'u' indicates Py_UNICODE arrays. For those, .tounicode and
2224 .fromunicode methods are available. Arrays now support __iadd__
You can’t perform that action at this time.
0 commit comments