Skip to content

Commit

Permalink
Merge pull request #21 from ramiro/fix-list-type-alias-def
Browse files Browse the repository at this point in the history
Fix `Lines` type alias definition
  • Loading branch information
willmcgugan authored Jul 5, 2021
2 parents a6a912a + b1bed03 commit ef69962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/textual/_types.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
from typing import Awaitable, Callable, Optional, TYPE_CHECKING
from typing import Awaitable, Callable, List, Optional, TYPE_CHECKING
from rich.segment import Segment

if sys.version_info >= (3, 8):
Expand Down Expand Up @@ -28,4 +28,4 @@ async def post_message(self, message: "Message") -> bool:

MessageHandler = Callable[["Message"], Awaitable]

Lines = list[list[Segment]]
Lines = List[List[Segment]]

0 comments on commit ef69962

Please sign in to comment.