Skip to content

Commit

Permalink
Fix type hint for __iter__
Browse files Browse the repository at this point in the history
  • Loading branch information
kozalosev committed May 6, 2023
1 parent 0b45f0c commit a58076c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klocmod/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def __eq__(self, other) -> bool:
raise TypeError("Incomparable types!")
return self._primary_dict == other._primary_dict and self._spare_lang_dct == other._spare_lang_dct

def __iter__(self) -> Iterable:
def __iter__(self) -> Iterator:
return iter(self._primary_dict.items())


Expand Down

0 comments on commit a58076c

Please sign in to comment.