diff options
author | Guido van Rossum <guido@python.org> | 1993-07-29 08:25:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-07-29 08:25:09 (GMT) |
commit | 1fc238a813c0c3f5210cd39cf5c70d5f9b70fabe (patch) | |
tree | d6f70dd343ee9f7e22abb4bc8071514dd049c6be /Objects/listobject.c | |
parent | a3309960a50dbadfd854299e7420223eb8718a56 (diff) | |
download | cpython-1fc238a813c0c3f5210cd39cf5c70d5f9b70fabe.zip cpython-1fc238a813c0c3f5210cd39cf5c70d5f9b70fabe.tar.gz cpython-1fc238a813c0c3f5210cd39cf5c70d5f9b70fabe.tar.bz2 |
Minor fixes / changes for Mac compatibility.
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r-- | Objects/listobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c index b51e3d8..38829e2 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -442,7 +442,7 @@ setlistslice(a, ilow, ihigh, v) { if (!is_listobject(a)) { err_badcall(); - return NULL; + return -1; } return list_ass_slice((listobject *)a, ilow, ihigh, v); } |