diff options
author | Guido van Rossum <guido@python.org> | 1996-12-10 15:33:34 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-10 15:33:34 +0000 |
commit | c9830d0ebb39c0d486412ba7ca0fef4d2bfaa6b6 (patch) | |
tree | 9ec2c0fe60607dcf3537a2c82027e1e17466848c /Python/errors.c | |
parent | caa2b6692428669e026d251f94acebf0799e088f (diff) | |
download | cpython-c9830d0ebb39c0d486412ba7ca0fef4d2bfaa6b6.tar.gz |
Add const to error and newstring functions
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c index 29f3cfdb6b..a1ab4b873c 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -124,7 +124,7 @@ err_set(exception) void err_setstr(exception, string) object *exception; - char *string; + const char *string; { object *value = newstringobject(string); err_setval(exception, value); |