mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 23:09:55 +08:00
Use Generator instead of Iterator for 3rd-party context managers (#12481)
This commit is contained in:
@@ -107,7 +107,7 @@ class RefResolver:
|
||||
@property
|
||||
def base_uri(self): ...
|
||||
@contextmanager
|
||||
def in_scope(self, scope) -> Generator[None, None, None]: ...
|
||||
def in_scope(self, scope) -> Generator[None]: ...
|
||||
@contextmanager
|
||||
def resolving(self, ref) -> Generator[Incomplete, None, None]: ...
|
||||
def resolve(self, ref): ...
|
||||
|
||||
Reference in New Issue
Block a user