Skip to content

Commit

Permalink
fix: TypeError: 'type' object is not subscriptable
Browse files Browse the repository at this point in the history
  • Loading branch information
5j9 committed Apr 11, 2024
1 parent 4a5214c commit 62c583b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wikitextparser/_wikitext.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _table_to_text(t: 'Table') -> str:
)


_MarkupSpans = List[tuple[int, int]]
_MarkupSpans = List[Tuple[int, int]]


class WikiText:
Expand Down Expand Up @@ -989,7 +989,7 @@ def comments(self) -> List['Comment']:
@property
def _bold_italic_marks(
self,
) -> tuple[bytearray, _MarkupSpans, _MarkupSpans]:
) -> Tuple[bytearray, _MarkupSpans, _MarkupSpans]:
"""Return (shadow, bold markup spans, italic markup spans).
The comments at /includes/parser/Parser.php:doQuotes are helpful:
Expand Down

0 comments on commit 62c583b

Please sign in to comment.