From e6d80f76614fa80dac4c439ab02f3a80de7ecc8a Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Wed, 29 May 2024 03:24:20 +0000 Subject: [PATCH] Added a missing optional type hint. --- python/qrcodegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/qrcodegen.py b/python/qrcodegen.py index 5d84c39..4263c1b 100644 --- a/python/qrcodegen.py +++ b/python/qrcodegen.py @@ -439,7 +439,7 @@ class QrCode: # Adjacent modules in column having same color, and finder-like patterns for x in range(size): runcolor = False - runy = 0 + runy: int = 0 runhistory = collections.deque([0] * 7, 7) for y in range(size): if modules[y][x] == runcolor: