From fc9962d8a04624620376d57ee196b414495f27ae Mon Sep 17 00:00:00 2001 From: Ilan Schnell Date: Fri, 11 Jun 2021 16:18:54 -0500 Subject: [PATCH] add module docstring --- bitarray/__init__.pyi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bitarray/__init__.pyi b/bitarray/__init__.pyi index de749da4..58e9e29b 100644 --- a/bitarray/__init__.pyi +++ b/bitarray/__init__.pyi @@ -1,10 +1,14 @@ +""" +This stub, as well as util.pyi, have been tested with +Python 3.9 and mypy 0.901 +""" from collections.abc import Iterable, Iterator from unittest.runner import TextTestResult -from typing import Any, BinaryIO, Literal, Union, overload +from typing import BinaryIO, Hashable, Union, overload -Codedict = dict[Any, bitarray] +Codedict = dict[Hashable, bitarray] class decodetree: