diff options
author | Guido van Rossum <guido@python.org> | 1993-01-26 13:33:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-01-26 13:33:44 (GMT) |
commit | 34679b7661873ec65e5157ddd1ea2be8269632d0 (patch) | |
tree | 401979fa222c7b621a93bc8c5e4ba928ef0551b7 /Python/ceval.c | |
parent | 35fb82a33f4bc78be1f7d219b8ebd078b37c90cb (diff) | |
download | cpython-34679b7661873ec65e5157ddd1ea2be8269632d0.zip cpython-34679b7661873ec65e5157ddd1ea2be8269632d0.tar.gz cpython-34679b7661873ec65e5157ddd1ea2be8269632d0.tar.bz2 |
* Added Fixcprt.py: script to fix copyright message.
* various modules: added 1993 to copyright.
* thread.c: added copyright notice.
* ceval.c: minor change to error message for "+"
* stdwinmodule.c: check for error from wfetchcolor
* config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h)
* Add declaration of inittab to import.h
* sysmodule.c: added sys.builtin_module_names
* xxmodule.c, xxobject.c: fix minor errors
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index a46fd36..b28f17c 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1,6 +1,6 @@ /*********************************************************** -Copyright 1991, 1992 by Stichting Mathematisch Centrum, Amsterdam, The -Netherlands. +Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum, +Amsterdam, The Netherlands. All Rights Reserved @@ -1577,10 +1577,8 @@ add(v, w) DECREF(w); return x; } - else { - err_setstr(TypeError, "+ not supported by operands"); - return NULL; - } + err_setstr(TypeError, "bad operand type(s) for +"); + return NULL; } static object * |