Skip to content

Commit

Permalink
Whitespace normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
nnorwitz committed Feb 5, 2006
1 parent 96e48d4 commit d1cfc8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/mmapmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d1cfc8a

Please sign in to comment.