From 067998f35ec3013e9a55aad29f0e3dbe4560d11c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 10 Dec 1996 15:33:34 +0000 Subject: Add const to error and newstring functions --- Python/errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/errors.c') 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); -- cgit v1.2.1