mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Both mypy and pytype only use the major and minor version in type checking. Using checks like "sys.version_info >= (3, 4, 4)" won't actually work properly for people type checking their code using version 3.4, because (3, 4) >= (3, 4, 4) will always be false (at least in mypy's approach; not sure if pytype is different).