summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1996-12-19 22:22:32 (GMT)
committerBarry Warsaw <barry@python.org>1996-12-19 22:22:32 (GMT)
commitbab218e4205d85f9b2438e87cdcd7e11cbf45e91 (patch)
treee7506726a56f28aafb0a445f8cf55b215507cc98 /Modules
parent43d68b8fb04a5c8e291945a6a1047ae4088dbd20 (diff)
downloadcpython-bab218e4205d85f9b2438e87cdcd7e11cbf45e91.zip
cpython-bab218e4205d85f9b2438e87cdcd7e11cbf45e91.tar.gz
cpython-bab218e4205d85f9b2438e87cdcd7e11cbf45e91.tar.bz2
Minor formatting changes.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/pwdmodule.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c
index 7caf0d2..69a81ef 100644
--- a/Modules/pwdmodule.c
+++ b/Modules/pwdmodule.c
@@ -40,21 +40,22 @@ static PyObject *
mkpwent(p)
struct passwd *p;
{
- return Py_BuildValue("(ssllsss)",
- p->pw_name,
- p->pw_passwd,
+ return Py_BuildValue(
+ "(ssllsss)",
+ p->pw_name,
+ p->pw_passwd,
#if defined(NeXT) && defined(_POSIX_SOURCE) && defined(__LITTLE_ENDIAN__)
/* Correct a bug present on Intel machines in NextStep 3.2 and 3.3;
for later versions you may have to remove this */
- (long)p->pw_short_pad1, /* ugh-NeXT broke the padding */
- (long)p->pw_short_pad2,
+ (long)p->pw_short_pad1, /* ugh-NeXT broke the padding */
+ (long)p->pw_short_pad2,
#else
- (long)p->pw_uid,
- (long)p->pw_gid,
+ (long)p->pw_uid,
+ (long)p->pw_gid,
#endif
- p->pw_gecos,
- p->pw_dir,
- p->pw_shell);
+ p->pw_gecos,
+ p->pw_dir,
+ p->pw_shell);
}
static PyObject *