summaryrefslogtreecommitdiffstats
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-02-05 03:36:57 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-02-05 03:36:57 (GMT)
commitd1cfc8ade1f661f02286f2b81123d4d436c6d9d0 (patch)
tree76244354a30766848f174270bd42f73c86b55242 /Modules/mmapmodule.c
parent96e48d4698a54901eb362377d18774836c32b2a4 (diff)
downloadcpython-d1cfc8ade1f661f02286f2b81123d4d436c6d9d0.zip
cpython-d1cfc8ade1f661f02286f2b81123d4d436c6d9d0.tar.gz
cpython-d1cfc8ade1f661f02286f2b81123d4d436c6d9d0.tar.bz2
Whitespace normalization
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r--Modules/mmapmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index 1cd7d17..b01f42f 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -877,10 +877,10 @@ new_mmap_object(PyObject *self, PyObject *args, PyObject *kwdict)
return NULL;
if ((access != (int)ACCESS_DEFAULT) &&
- ((flags != MAP_SHARED) || ( prot != (PROT_WRITE | PROT_READ))))
+ ((flags != MAP_SHARED) || (prot != (PROT_WRITE | PROT_READ))))
return PyErr_Format(PyExc_ValueError,
"mmap can't specify both access and flags, prot.");
- switch((access_mode)access) {
+ switch ((access_mode)access) {
case ACCESS_READ:
flags = MAP_SHARED;
prot = PROT_READ;