mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 03:41:28 +08:00
check_new_syntax.py: check nested annotations (#6167)
This commit is contained in:
@@ -38,7 +38,7 @@ class MapResult(ApplyResult[List[_T]]):
|
||||
pool: Pool,
|
||||
chunksize: int,
|
||||
length: int,
|
||||
callback: Callable[[List[_T]], None] | None,
|
||||
callback: Callable[[list[_T]], None] | None,
|
||||
error_callback: Callable[[BaseException], None] | None,
|
||||
) -> None: ...
|
||||
else:
|
||||
@@ -47,7 +47,7 @@ class MapResult(ApplyResult[List[_T]]):
|
||||
cache: dict[int, ApplyResult[Any]],
|
||||
chunksize: int,
|
||||
length: int,
|
||||
callback: Callable[[List[_T]], None] | None,
|
||||
callback: Callable[[list[_T]], None] | None,
|
||||
error_callback: Callable[[BaseException], None] | None,
|
||||
) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user