mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
8
stdlib/3/contextlib.pyi
Normal file
8
stdlib/3/contextlib.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
# Stubs for contextlib
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
from typing import Any
|
||||
|
||||
# TODO more precise type?
|
||||
def contextmanager(func: Any) -> Any: ...
|
||||
Reference in New Issue
Block a user