New submission from Andriy Mysyk: Use _thread.Lock.acquire() documentation for threading.Lock.acquire().
threading.Lock inherits acquire() method from _thread.Lock. The two acquire() methods are identical in their functionality yet have different documentation. Documentation for threading.Lock.acquire() creates the impression that the function is more complex or harder to use than it actually is. See http://docs.python.org/devguide/documenting.html#economy-of-expression for guidelines. ---------- assignee: docs@python components: Documentation messages: 187945 nosy: amysyk, docs@python priority: normal severity: normal status: open title: Different documentation for identical methods type: enhancement versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17858> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com