diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-04-17 20:44:21 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-04-17 20:44:21 (GMT) |
commit | 84c2b1b9aa3a596b597d37e6258c790987e50963 (patch) | |
tree | aa53f5c3656db7199ec40e74c4fa2b2b5cb0767a /Mac/Modules | |
parent | ecc6635ae444440049172829a4f7590acf58725a (diff) | |
download | cpython-84c2b1b9aa3a596b597d37e6258c790987e50963.zip cpython-84c2b1b9aa3a596b597d37e6258c790987e50963.tar.gz cpython-84c2b1b9aa3a596b597d37e6258c790987e50963.tar.bz2 |
Oops, 'k' is the new format code for un unchecked 32 bit quantity,
not 'K'.
Diffstat (limited to 'Mac/Modules')
-rw-r--r-- | Mac/Modules/Nav.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c index 81d00b2..a679df7 100644 --- a/Mac/Modules/Nav.c +++ b/Mac/Modules/Nav.c @@ -170,7 +170,7 @@ filldialogoptions(PyObject *d, if ( !PyArg_Parse(value, "H", &opt->version) ) return 0; } else if( strcmp(keystr, "dialogOptionFlags") == 0 ) { - if ( !PyArg_Parse(value, "K", &opt->dialogOptionFlags) ) + if ( !PyArg_Parse(value, "k", &opt->dialogOptionFlags) ) return 0; } else if( strcmp(keystr, "location") == 0 ) { if ( !PyArg_Parse(value, "O&", PyMac_GetPoint, &opt->location) ) @@ -247,7 +247,7 @@ nav_NavTranslateFile(navrrobject *self, PyObject *args) NavTranslationOptions howToTranslate; OSErr err; - if (!PyArg_ParseTuple(args, "K", &howToTranslate)) + if (!PyArg_ParseTuple(args, "k", &howToTranslate)) return NULL; err = NavTranslateFile(&self->itself, howToTranslate); if ( err ) { @@ -268,7 +268,7 @@ nav_NavCompleteSave(navrrobject *self, PyObject *args) NavTranslationOptions howToTranslate; OSErr err; - if (!PyArg_ParseTuple(args, "K", &howToTranslate)) + if (!PyArg_ParseTuple(args, "k", &howToTranslate)) return NULL; err = NavCompleteSave(&self->itself, howToTranslate); if ( err ) { @@ -528,7 +528,7 @@ nav_NavAskSaveChanges(PyObject *self, PyObject *args, PyObject *kw) OSErr err; if ( kw && PyObject_IsTrue(kw) ) { - if (!PyArg_ParseTuple(args, "K", &action)) + if (!PyArg_ParseTuple(args, "k", &action)) return NULL; dict = kw; } else if (!PyArg_ParseTuple(args, "lO!", &action, &PyDict_Type, &dict)) |