commit | 067998f35ec3013e9a55aad29f0e3dbe4560d11c | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Dec 10 15:33:34 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Dec 10 15:33:34 1996 +0000 |
tree | 482d92ddc8fc1be73bd43d6dcac7f11fc0f4aa58 | |
parent | 36dd0d27c4916dbe67545d3bcb18df06825fbb26 [diff] [blame] |
Add const to error and newstring functions
diff --git a/Python/errors.c b/Python/errors.c index 29f3cfd..a1ab4b8 100644 --- a/Python/errors.c +++ b/Python/errors.c
@@ -124,7 +124,7 @@ void err_setstr(exception, string) object *exception; - char *string; + const char *string; { object *value = newstringobject(string); err_setval(exception, value);