]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport gvanrossum's checkin of version 2.217:
authorMichael W. Hudson <mwh@python.net>
Fri, 28 Dec 2001 10:24:44 +0000 (10:24 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 28 Dec 2001 10:24:44 +0000 (10:24 +0000)
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!

Modules/posixmodule.c

index a7ec442e93a6e25de79eec2bd23d5cce84ceb176..1290977350701397200ea7767860d9ce6e5d32ba 100644 (file)
@@ -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);
 }