threading Lock - wrong exception name

Aug. 30, 2012
5:36 p.m.
Hi I found a bug in python docs which can be accessed at links: http://docs.python.org/library/threading.html#lock-objects http://docs.python.org/py3k/library/threading.html#lock-objects Bug is in second paragraph describing threading.Lock. I found that statement: "If an attempt is made to release an unlocked lock, a RuntimeError<http://docs.python.org/library/exceptions.html#exceptions.RuntimeError>will be raised." Which is not true, name of exception is wrong it should be (and it relay is) ThreadError (from threading module) Could someone fix it? -- Br, Slawomir Kuszczynski
4618
Age (days ago)
4618
Last active (days ago)
0 comments
1 participants
participants (1)
-
Slawomir Kuszczynski