summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-10 15:33:34 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-10 15:33:34 (GMT)
commit067998f35ec3013e9a55aad29f0e3dbe4560d11c (patch)
tree482d92ddc8fc1be73bd43d6dcac7f11fc0f4aa58 /Python
parent36dd0d27c4916dbe67545d3bcb18df06825fbb26 (diff)
downloadcpython-067998f35ec3013e9a55aad29f0e3dbe4560d11c.zip
cpython-067998f35ec3013e9a55aad29f0e3dbe4560d11c.tar.gz
cpython-067998f35ec3013e9a55aad29f0e3dbe4560d11c.tar.bz2
Add const to error and newstring functions
Diffstat (limited to 'Python')
-rw-r--r--Python/errors.c2
1 files changed, 1 insertions, 1 deletions
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 @@ err_set(exception)
void
err_setstr(exception, string)
object *exception;
- char *string;
+ const char *string;
{
object *value = newstringobject(string);
err_setval(exception, value);