Make type of threading.locals more lenient.
Make type of threading.locals more lenient.

li-dan/typeshed,azag0/typeshed,euresti/typeshed,fyquah95/typeshed,tharvik/typeshed,tharvik/typeshed,fyquah95/typeshed