diff options
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index ebda8bf..08b0c46 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -6002,9 +6002,11 @@ INITFUNC(void) posix_putenv_garbage = PyDict_New(); #endif + stat_result_desc.name = MODNAME ".stat_result"; PyStructSequence_InitType(&StatResultType, &stat_result_desc); PyDict_SetItemString(d, "stat_result", (PyObject*) &StatResultType); + statvfs_result_desc.name = MODNAME ".statvfs_result"; PyStructSequence_InitType(&StatVFSResultType, &statvfs_result_desc); PyDict_SetItemString(d, "statvfs_result", (PyObject*) &StatResultType); } |