From fa0edf8099771307fed9462cd6d5517a3aeedb06 Mon Sep 17 00:00:00 2001 From: Niklas Fiekas Date: Sat, 18 Jan 2020 14:52:04 +0100 Subject: [PATCH] Fix another use of Literal --- chess/pgn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chess/pgn.py b/chess/pgn.py index 173aff438..e30c4aaef 100644 --- a/chess/pgn.py +++ b/chess/pgn.py @@ -960,7 +960,7 @@ def end_headers(self) -> SkipType: def begin_variation(self) -> SkipType: return SKIP - def result(self) -> Literal[True]: + def result(self) -> "typing.Literal[True]": return True