From 0e984e1442e735a6a3cee5170bead492b231d620 Mon Sep 17 00:00:00 2001 From: oscure76 Date: Sat, 14 Apr 2018 16:24:41 -0700 Subject: fix Python 3.6 variable type annotations #3053 --- pathod/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pathod/utils.py') diff --git a/pathod/utils.py b/pathod/utils.py index 11b1dccd..4ef85439 100644 --- a/pathod/utils.py +++ b/pathod/utils.py @@ -11,7 +11,7 @@ class MemBool: """ def __init__(self) -> None: - self.v = None # type: typing.Optional[bool] + self.v: typing.Optional[bool] = None def __call__(self, v: bool) -> bool: self.v = v -- cgit v1.2.3