Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blablatdinov committed Oct 15, 2022
1 parent 2da746f commit 7a7a5c9
Show file tree
Hide file tree
Showing 8 changed files with 149 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/boltons.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 80 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 21 additions & 8 deletions boltons/dictutils.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,31 @@ class OrderedMultiDict(dict):
def setdefault(self, k: Hashable, default: Any = ...) -> Any: ...
def copy(self) -> OrderedMultiDict: ...
@classmethod
def fromkeys(cls, keys: list[Any], default: Any | None = ...) -> OrderedMultiDict: ...
def fromkeys(
cls, keys: list[Any], default: Any | None = ...
) -> OrderedMultiDict: ...
def update(self, E: dict[Any, Any] | Iterable, **F: dict[str, Any]) -> None: ...
def update_extend(self, E: dict[Any, Any] | Iterable, **F: dict[str, Any]) -> None: ...
def update_extend(
self, E: dict[Any, Any] | Iterable, **F: dict[str, Any]
) -> None: ...
def __setitem__(self, k: Hashable, v: Any) -> None: ...
def __getitem__(self, k: Hashable) -> Any: ...
def __delitem__(self, k: Hashable) -> None: ...
def __eq__(self, other: OrderedMultiDict) -> bool: ...
def __ne__(self, other: OrderedMultiDict) -> bool: ...
def pop(self, k: Hashable, default: Any = ...) -> None: ...
def popall(self, k: Hashable, default: Any = ...) -> None: ...
def poplast(self, k: Hashable = ..., default: Any =...) -> None: ...
def poplast(self, k: Hashable = ..., default: Any = ...) -> None: ...
def iteritems(self, multi: bool = ...) -> Generator[Any, None, None]: ...
def iterkeys(self, multi: bool = ...) -> Generator[Any, None, None]: ...
def itervalues(self, multi: bool = ...) -> Generator[Any, None, None]: ...
def todict(self, multi: bool = ...) -> dict[Hashable, Any]: ...
def sorted(self, key: Any | None = ..., reverse: bool = ...) -> OrderedMultiDict: ...
def sortedvalues(self, key: Any | None = ..., reverse: bool = ...) -> OrderedMultiDict: ...
def sorted(
self, key: Any | None = ..., reverse: bool = ...
) -> OrderedMultiDict: ...
def sortedvalues(
self, key: Any | None = ..., reverse: bool = ...
) -> OrderedMultiDict: ...
def inverted(self) -> OrderedMultiDict: ...
def counts(self) -> OrderedMultiDict: ...
def keys(self, multi: bool = ...) -> list[Hashable]: ...
Expand All @@ -43,6 +51,7 @@ class OrderedMultiDict(dict):
def viewkeys(self) -> KeysView: ...
def viewvalues(self) -> ValuesView: ...
def viewitems(self) -> ItemsView: ...

OMD = OrderedMultiDict
MultiDict = OrderedMultiDict

Expand All @@ -63,12 +72,14 @@ class OneToOne(dict):
def pop(self, key: Hashable, default: Any = ...) -> Hashable: ...
def popitem(self) -> tuple[Hashable, Hashable]: ...
def setdefault(self, key, default: Any = ...) -> Hashable: ...
def update(self, dict_or_iterable: dict | Iterable, **kw: dict[Hashable, Any]) -> None: ...
def update(
self, dict_or_iterable: dict | Iterable, **kw: dict[Hashable, Any]
) -> None: ...

class ManyToMany:
data: dict[Hashable, Any]
inv: ManyToMany
def __init__(self, items: tuple[Hashable] | dict[Hashable, Any] = ...) -> None: ...
def __init__(self, items: tuple[Hashable] | dict[Hashable, Any] = ...) -> None: ...
def get(self, key: Hashable, default: Any = ...) -> Any: ...
def __getitem__(self, key: Hashable) -> Any: ...
def __setitem__(self, key: Hashable, vals: Iterable) -> None: ...
Expand All @@ -84,7 +95,9 @@ class ManyToMany:
def __len__(self) -> int: ...
def __eq__(self, other) -> bool: ...

def subdict(d, keep: dict[Hashable, Any] | None = ..., drop: list[Hashable] | None = ...): ...
def subdict(
d, keep: dict[Hashable, Any] | None = ..., drop: list[Hashable] | None = ...
): ...

class FrozenHashError(TypeError): ...

Expand Down
3 changes: 3 additions & 0 deletions venv/pyvenv.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
home = /Library/Frameworks/Python.framework/Versions/3.8/bin
include-system-site-packages = false
version = 3.8.5

0 comments on commit 7a7a5c9

Please sign in to comment.