PyDocs

Nav

Generic Operating System Services

supports_dir_fd

os

data · Added in 3.3
A set object indicating which functions in the os module accept an open file descriptor for their dir_fd parameter. Different platforms provide different features, and the underlying functionality Python uses to implement the dir_fd parameter is not available on all platforms Python supports. For consistency’s sake, functions that may support dir_fd always allow specifying the parameter, but will throw an exception if the functionality is used when it’s not locally available. (Specifying None for dir_fd is always supported on all platforms.)
0 Examples
No examples for os/supports_dir_fd.
See Also
No see-alsos for os/supports_dir_fd
0 Notes
No notes for supports_dir_fd