mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 10:21:14 +08:00
Added stub for Python 2's _threading_local (#1461)
This commit is contained in:
committed by
Jelle Zijlstra
parent
318cada66c
commit
1a9685c6ce
14
stdlib/2/_threading_local.pyi
Normal file
14
stdlib/2/_threading_local.pyi
Normal file
@@ -0,0 +1,14 @@
|
||||
# Source: https://hg.python.org/cpython/file/2.7/Lib/_threading_local.py
|
||||
from typing import Any, List
|
||||
|
||||
__all__: List[str]
|
||||
|
||||
class _localbase(object): ...
|
||||
|
||||
class local(_localbase):
|
||||
def __getattribute__(self, name: str) -> Any: ...
|
||||
def __setattr__(self, name: str, value: Any) -> None: ...
|
||||
def __delattr__(self, name: str) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
|
||||
def _patch(self: local) -> None: ...
|
||||
Reference in New Issue
Block a user