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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb2501f6388544fabca7c2df33d91e8577d74ca5;p=thirdparty%2FPython%2Fcpython.git 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 a7ec442e93a6..129097735070 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); }