Roundup Robot added the comment:
New changeset 0d7a8a4d6f30 by Georg Brandl in branch '2.7':
Closes #16936: fix duplicate/ambiguous description of stat.S_IFMT in the docs.
http://hg.python.org/cpython/rev/0d7a8a4d6f30
New changeset 3555391a9909 by Georg Brandl in branch '3.3':
Closes #16936: fix
New submission from Jens Lechtenboerger:
The documentation for the stat module is inconsistent
(Doc/library/stat.rst, at least for Python 2.7.2 and 3.3.0):
It talks about a function stat.S_IFMT() and a bit mask stat.S_IFMT.
Only the former does exist.
Besides, it states: "For complete details ab