Clarify why csv stub has no __version__ attribute (#6398)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Alex Waygood
2021-11-27 14:58:29 +00:00
committed by GitHub
parent e734231314
commit e9afd22a99
2 changed files with 6 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ if sys.version_info >= (3, 8):
else:
from collections import OrderedDict as _DictReadMapping
# __version__ is deliberately not defined here or in _csv.pyi,
# as it appears to have been hardcoded at "1.0" for a very long time!
_T = TypeVar("_T")
class excel(Dialect):