Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Nov 2, 2023
1 parent c9121d7 commit 70676a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions markdown/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,11 @@ def __iter__(self) -> Iterator[_T]:

@overload
def __getitem__(self, key: str | int) -> _T: # pragma: no cover
... # pragma: no cover
...

@overload
def __getitem__(self, key: slice) -> Registry[_T]: # pragma: no cover
... # pragma: no cover
...

def __getitem__(self, key: str | int | slice) -> _T | Registry[_T]:
self._sort()
Expand Down

0 comments on commit 70676a3

Please sign in to comment.