New submission from Petri Lehtinen <[email protected]>:
In the description of section 16.2.2. Lock objects:
If an attempt is made to release an unlocked lock, a RuntimeError
will be raised.
In the description of Lock.release():
When invoked on an unlocked lock, a ThreadError is raised.
Apparently, ThreadError is the correct exception.
----------
assignee: petri.lehtinen
components: Documentation, Library (Lib)
keywords: easy
messages: 162401
nosy: petri.lehtinen
priority: normal
severity: normal
status: open
title: threading.Lock documentation conflict
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15017>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com