diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 17:20:04 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 17:20:04 +0000 |
commit | 02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd (patch) | |
tree | 7116de173bc782da1cf8f3e59d7eda2e977099ee /Modules/socketmodule.c | |
parent | f4e6928c4d259fbff9fa8e48496339009333f228 (diff) | |
download | cpython-git-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.tar.gz |
More unconsting.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 6ec15fd960..c526d7595f 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -2566,7 +2566,7 @@ sock_initobj(PyObject *self, PyObject *args, PyObject *kwds) PySocketSockObject *s = (PySocketSockObject *)self; SOCKET_T fd; int family = AF_INET, type = SOCK_STREAM, proto = 0; - static const char *keywords[] = {"family", "type", "proto", 0}; + static char *keywords[] = {"family", "type", "proto", 0}; if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iii:socket", keywords, |