Restructured text fixes so that pydoctor would return without an error
This commit is contained in:
parent
58b056988a
commit
a84a916719
31 changed files with 269 additions and 256 deletions
|
|
@ -12,7 +12,8 @@ from collections.abc import Hashable
|
|||
class SizedIterableHashable(Iterable[Hashable], Protocol):
|
||||
"""A protocol for sized iterable of hashable objects"""
|
||||
|
||||
def __len__(self) -> int: ...
|
||||
def __len__(self) -> int:
|
||||
"""Add a len function to protocol so Python knows the object is sized."""
|
||||
|
||||
|
||||
def assert_unique_of_length(data: SizedIterableHashable, length: int) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue