Add const to error and newstring functions

This commit is contained in:
Guido van Rossum 1996-12-10 15:33:34 +00:00
parent 36dd0d27c4
commit 067998f35e
4 changed files with 6 additions and 6 deletions

View file

@ -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);