[New-bugs-announce] [issue17091] thread.lock.acquire docstring bug

Armin Rigo report at bugs.python.org
Thu Jan 31 17:58:07 CET 2013

New submission from Armin Rigo:

The docstring of thread.lock.acquire() (or _thread on Python 3) is bogus: it says that if called without argument, the return value is None; it is only if called with a "blocking" argument that it returns True or False.  But since a long time it was always returning a boolean, never None.

assignee: docs at python
components: Documentation
keywords: easy
messages: 181035
nosy: arigo, docs at python
priority: normal
severity: normal
status: open
title: thread.lock.acquire docstring bug
versions: Python 2.7, Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list