diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/newmodule.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/newmodule.c b/Modules/newmodule.c index aa5f77e..383ee4a 100644 --- a/Modules/newmodule.c +++ b/Modules/newmodule.c @@ -69,12 +69,12 @@ new_code(unused, args) if (!getargs(args, "(OOOOO)", &code, &consts, &names, &filename, &name)) { return NULL; - } else if (!is_stringobject(code) || !is_listobject(consts) || \ - !is_listobject(names) || !is_stringobject(filename) || \ + } else if (!is_stringobject(code) || !is_listobject(consts) || + !is_listobject(names) || !is_stringobject(filename) || !is_stringobject(name)) { - err_setstr(TypeError, "expected a string of compiled code, a list of constants, \ - a list of names used, a string filename, and a string name \ - as args"); + err_setstr(TypeError, +"expected a string of compiled code, a list of constants, \ +a list of names used, a string filename, and a string name as args"); return NULL; } return (object *)newcodeobject(code, consts, names, filename, name); |