Closed srittau closed 1 year ago
sendfile and statvfs are only defined when they are defined in the os module, i.e. not on win32. But they were added to __all__ unconditionally.
sendfile
statvfs
os
__all__
For reference, I noticed this when updating the typeshed stubs, cf. python/typeshed#10584.
Cool, thanks. Can you add a small history entry too?
Thanks!
Thank you for the quick review!
sendfile
andstatvfs
are only defined when they are defined in theos
module, i.e. not on win32. But they were added to__all__
unconditionally.