New submission from Guido van Rossum:

The docs for threading.Lock say


79534:    .. versionchanged:: 3.3
79534:       Changed from a factory function to a class.

but the implementation in threading.py doesn't define a class named Lock, and 
in fact it is an alias for _thread.allocate_lock.

Are the docs wrong, or is the source? Or did this get changed back later?

----------
messages: 271305
nosy: gvanrossum
priority: normal
severity: normal
status: open
title: docs for threading.Lock claim it's a class (since 3.3), but it's not 
(and has never been, apparently)

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

Reply via email to