summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-19 15:55:19 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-19 15:55:19 (GMT)
commit295d171650758106cd4c24410f5a5c0740b914b2 (patch)
tree0cbd98e026c3adb19be0ec0bd1ad15a6ae9653ca /Objects/listobject.c
parent2b7e04a9d934afdedde936f2806a6723e62777de (diff)
downloadcpython-295d171650758106cd4c24410f5a5c0740b914b2.zip
cpython-295d171650758106cd4c24410f5a5c0740b914b2.tar.gz
cpython-295d171650758106cd4c24410f5a5c0740b914b2.tar.bz2
explicitly init flags in methodlists
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index f0eab0b..a367ed1 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -751,7 +751,7 @@ static struct methodlist list_methods[] = {
{"count", (method)listcount},
{"index", (method)listindex},
{"insert", (method)listinsert},
- {"sort", (method)listsort},
+ {"sort", (method)listsort, 0},
{"remove", (method)listremove},
{"reverse", (method)listreverse},
{NULL, NULL} /* sentinel */