From c8ea966cc5f9674663a232ce63633802222f10c2 Mon Sep 17 00:00:00 2001 From: Peter Date: Mon, 8 Jun 2020 11:33:48 -0400 Subject: [PATCH] from __future__ import annotations Import fails with numerous type-checking errors on Python3.7 without this fix. --- python/qrcodegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/qrcodegen.py b/python/qrcodegen.py index 884ee32..b213059 100644 --- a/python/qrcodegen.py +++ b/python/qrcodegen.py @@ -20,7 +20,7 @@ # out of or in connection with the Software or the use or other dealings in the # Software. # - +from __future__ import annotations # fix for python3.7 import collections, itertools, re from typing import List, Optional, Tuple