From: Georg Brandl Date: Tue, 21 Feb 2006 17:49:57 +0000 (+0000) Subject: Fix typo in functional module X-Git-Tag: v2.5a0~563 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2fb6c74c65548ae2eedab32ba8116e62eb3adaf;p=python Fix typo in functional module --- diff --git a/Modules/functionalmodule.c b/Modules/functionalmodule.c index 58b07d9e19..4b2e9b4d64 100644 --- a/Modules/functionalmodule.c +++ b/Modules/functionalmodule.c @@ -191,7 +191,7 @@ partial_set_dict(partialobject *pto, PyObject *value) return 0; } -static PyGetSetDef partail_getsetlist[] = { +static PyGetSetDef partial_getsetlist[] = { {"__dict__", (getter)partial_get_dict, (setter)partial_set_dict}, {NULL} /* Sentinel */ }; @@ -229,7 +229,7 @@ static PyTypeObject partial_type = { 0, /* tp_iternext */ 0, /* tp_methods */ partial_memberlist, /* tp_members */ - partail_getsetlist, /* tp_getset */ + partial_getsetlist, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ 0, /* tp_descr_get */