Add punctuation to docstrings
This commit is contained in:
parent
4dc41bb008
commit
80beeea07b
34 changed files with 232 additions and 235 deletions
|
|
@ -9,7 +9,7 @@ from collections.abc import Hashable
|
|||
|
||||
|
||||
class SizedIterableHashable(Iterable[Hashable], Protocol):
|
||||
"""A protocol for sized iterable of hashable objects"""
|
||||
"""A protocol for sized iterable of hashable objects."""
|
||||
|
||||
def __len__(self) -> int:
|
||||
"""Add a len function to protocol so Python knows the object is sized."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue