[issue6176] Reference to a wrong version of flock's documentation

Pascal Chambon report at bugs.python.org
Tue Jun 2 11:51:21 CEST 2009


New submission from Pascal Chambon <chambon.pascal at gmail.com>:

It seems that the "flock" wrapped by the fcntl module is the one
descriebd in "flock(2)", not "flock(3)" (just in case this might confuse
people...)

Quote : 
"""
fcntl.flock(fd, op)
Perform the lock operation op on file descriptor fd (file objects
providing a fileno() method are accepted as well). See the Unix manual
flock(3) for details. (On some systems, this function is emulated using
fcntl.)
"""

Regards, 
Pascal

----------
assignee: georg.brandl
components: Documentation
messages: 88735
nosy: georg.brandl, pakal
severity: normal
status: open
title: Reference to a wrong version of flock's documentation
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6176>
_______________________________________


More information about the Python-bugs-list mailing list