]> granicus.if.org Git - python/commitdiff
Fix typo in functional module
authorGeorg Brandl <georg@python.org>
Tue, 21 Feb 2006 17:49:57 +0000 (17:49 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 21 Feb 2006 17:49:57 +0000 (17:49 +0000)
Modules/functionalmodule.c

index 58b07d9e19e3a8c85d9d1db3f9e8cda6af4601d8..4b2e9b4d642213d9d350571b8563a872f15ecc89 100644 (file)
@@ -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 */