summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2001-12-28 10:24:44 (GMT)
committerMichael W. Hudson <mwh@python.net>2001-12-28 10:24:44 (GMT)
commit342ff9913cdc8b4c212fa397eb918e3711cfa63a (patch)
tree12acc610a368c2bd2f78d5267aa9bad9478e9628
parent5fde86fad5cc7718d6b86353ea7f05b28bcc26bf (diff)
downloadcpython-342ff9913cdc8b4c212fa397eb918e3711cfa63a.zip
cpython-342ff9913cdc8b4c212fa397eb918e3711cfa63a.tar.gz
cpython-342ff9913cdc8b4c212fa397eb918e3711cfa63a.tar.bz2
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!
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index a7ec442..1290977 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);
}