Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb2501f

Browse files
committed
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!
1 parent 226275f commit bb2501f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/posixmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6014,5 +6014,5 @@ INITFUNC(void)
60146014

60156015
statvfs_result_desc.name = MODNAME ".statvfs_result";
60166016
PyStructSequence_InitType(&StatVFSResultType, &statvfs_result_desc);
6017-
PyDict_SetItemString(d, "statvfs_result", (PyObject*) &StatResultType);
6017+
PyDict_SetItemString(d, "statvfs_result", (PyObject*) &StatVFSResultType);
60186018
}

0 commit comments

Comments
 (0)