From: Guido van Rossum Date: Thu, 27 Dec 2001 16:23:28 +0000 (+0000) Subject: Due to a cut-and-paste error, the type object exported under the name X-Git-Tag: v2.3c1~6947 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb2501f6388544fabca7c2df33d91e8577d74ca5;p=python Due to a cut-and-paste error, the type object exported under the name statvfs_result was in fact the stat_result type object. :-( 2.2.1 bugfix! --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index a7ec442e93..1290977350 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -6014,5 +6014,5 @@ INITFUNC(void) statvfs_result_desc.name = MODNAME ".statvfs_result"; PyStructSequence_InitType(&StatVFSResultType, &statvfs_result_desc); - PyDict_SetItemString(d, "statvfs_result", (PyObject*) &StatResultType); + PyDict_SetItemString(d, "statvfs_result", (PyObject*) &StatVFSResultType); }