mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
9 lines
147 B
Python
9 lines
147 B
Python
# Stubs for contextlib
|
|
|
|
# NOTE: These are incomplete!
|
|
|
|
from typing import Any
|
|
|
|
# TODO more precise type?
|
|
def contextmanager(func: Any) -> Any: ...
|