gh-114315: Make `threading.Lock` a real class, not a factory function (#114479)
`threading.Lock` is now the underlying class and is constructable rather than the old factory function. This allows for type annotations to refer to it which had no non-ugly way to be expressed prior to this. --------- Co-authored-by: Alex Waygood <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
N
Nikita Sobolev committed
d96358ff9de646dbf64dfdfed46d510da7ec4803
Parent: b52fc70
Committed by GitHub <[email protected]>
on 1/25/2024, 7:46:32 PM