New submission from Andrew Parker: On my Linux system the docs for fcntl.flock gives me "man 3 flock" for more details:
$ pydoc3 fcntl.flock Help on built-in function flock in fcntl: fcntl.flock = flock(...) flock(fd, operation) Perform the lock operation op on file descriptor fd. See the Unix manual page for flock(3) for details. (On some systems, this function is emulated using fcntl().) However, at least for Fedora 19 and RHEL 6, that should be "man 2 flock" or "See the manual page for flock(2) for details": $ man 3 flock | wc -l No manual entry for flock in section 3 0 $ man 2 flock | wc -l 85 Note that http://docs.python.org/3/library/fcntl.html#fcntl.flock and http://docs.python.org/2/library/fcntl.html#fcntl.flock both have it right. ---------- assignee: docs@python components: Documentation messages: 198856 nosy: Andrew.Parker, docs@python priority: normal severity: normal status: open title: pydoc3 fcntl.flock documentation gives wrong man page section for flock versions: Python 2.6, Python 2.7, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19147> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com