New submission from Mike Hoy:

>From the Docs mailing list:

>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 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

----------
messages: 169513
nosy: mikehoy
priority: normal
severity: normal
status: open
title: Threading Lock - Wrong Exception Name
versions: Python 2.7, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15829>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to