[docs] [issue10789] Lock.acquire documentation is misleading

Jyrki Pulliainen report at bugs.python.org
Wed Dec 29 18:41:18 CET 2010


New submission from Jyrki Pulliainen <jyrki at dywypi.org>:

In threading module, the Lock.acquire documentation is misleading. The signature suggests that the blocking can be given as a keyword argument but that would lead to an TypeError, as thread.lock.acquire does not accept keyword arguments.

The signature in documentation should be formatted as in thread.lock.acquire.

----------
assignee: docs at python
components: Documentation
messages: 124861
nosy: Jyrki.Pulliainen, docs at python
priority: normal
severity: normal
status: open
title: Lock.acquire documentation is misleading
versions: Python 2.7, Python 3.1

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


More information about the docs mailing list