Due to a cut-and-paste error, the type object exported under the name
authorGuido van Rossum <guido@python.org>
Thu, 27 Dec 2001 16:23:28 +0000 (16:23 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 27 Dec 2001 16:23:28 +0000 (16:23 +0000)
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);
 }