Brett Cannon <br...@python.org> added the comment:

The documentation is correct by not documenting the methods as they are not 
meant to be used.

A warning could be added, but it requires new code to wrap the C function with 
a DeprecationWarning since that code is currently shared between 
thread.LockType.acquire() and acquire_lock().

----------
components: +Library (Lib) -Documentation
nosy: +brett.cannon
type:  -> enhancement

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

Reply via email to