From: Michael W. Hudson Date: Fri, 28 Dec 2001 10:24:44 +0000 (+0000) Subject: Backport gvanrossum's checkin of version 2.217: X-Git-Tag: v2.2.1c1~258 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=342ff9913cdc8b4c212fa397eb918e3711cfa63a;p=thirdparty%2FPython%2Fcpython.git Backport gvanrossum's checkin of version 2.217: 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); }