On 21 March 2015 at 10:15, 罗勇刚(Yonggang Luo) <[email protected]> wrote: > ---------- Forwarded message ---------- > From: 罗勇刚(Yonggang Luo) <[email protected]> > Date: 2015-03-21 2:24 GMT+08:00 > Subject: class os.DirEntry is confusing, > To: Python <[email protected]> > > > Should be replaced with os.FsEntry or os.ScanEntry
The name comes from the underlying C/POSIX concept (dirent in this case), which is fairly common for the low level APIs in the os module. Cheers, Nick. -- Nick Coghlan | [email protected] | Brisbane, Australia _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
