Skip to content

Commit

Permalink
docs: Fix missing spaces in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Jul 4, 2023
1 parent 05d85ab commit 55ef5ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pqdict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def pop(
def top(self, default: Any = __marker) -> Any:
"""Return the key of the item with highest priority.
If ``default`` is provided and pqdict is empty, then return``default``,
If ``default`` is provided and pqdict is empty, then return ``default``,
otherwise raise ``Empty``.
"""
if self._heap:
Expand All @@ -449,7 +449,7 @@ def top(self, default: Any = __marker) -> Any:
def topvalue(self, default: Any = __marker) -> Any:
"""Return the value of the item with highest priority.
If ``default`` is provided and pqdict is empty, then return``default``,
If ``default`` is provided and pqdict is empty, then return ``default``,
otherwise raise ``Empty``.
"""
if self._heap:
Expand All @@ -475,7 +475,7 @@ def topitem(self, default: Any = __marker) -> Tuple[Any, Any]:
def popvalue(self, default: Any = __marker) -> Any:
"""Remove and return the value of the item with highest priority.
If ``default`` is provided and pqdict is empty, then return``default``,
If ``default`` is provided and pqdict is empty, then return ``default``,
otherwise raise ``Empty``.
"""
if self._heap:
Expand Down

0 comments on commit 55ef5ec

Please sign in to comment.