mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Small fixes for Python 3.10 (#5044)
This is enough to get stubtest working (note that it's a little annoying to install mypy currently since typed-ast seems to have broken again on Python 3.10) Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import collections
|
||||
import collections.abc
|
||||
from typing import Any, Dict, Iterator, Optional, Tuple
|
||||
|
||||
class Shelf(collections.MutableMapping[Any, Any]):
|
||||
class Shelf(collections.abc.MutableMapping[Any, Any]):
|
||||
def __init__(
|
||||
self, dict: Dict[bytes, Any], protocol: Optional[int] = ..., writeback: bool = ..., keyencoding: str = ...
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user