[docs] threading Lock - wrong exception name

Slawomir Kuszczynski slawomir.kuszczynski at gmail.com
Thu Aug 30 19:36:04 CEST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20120830/1b8beb4c/attachment-0001.html>


More information about the docs mailing list