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

Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Alex WaygoodandAkuli authored and GitHub committed 2021-11-27 16:58:29 +02:00
1 parent e734231314
commit e9afd22a99
2 files changed
+6

No files matched your search

+3
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):