Add a comment about _typeshed to VERSIONS (#5447)

This commit is contained in:
Sebastian Rittau
2021-05-19 11:01:33 +02:00
committed by GitHub
parent 1ea3d0f003
commit 54a0bd80ee
4 changed files with 18 additions and 17 deletions

View File

@@ -107,7 +107,8 @@ def check_versions():
with open("stdlib/VERSIONS") as f:
data = f.read().splitlines()
for line in data:
if not line or line.lstrip().startswith("#"):
line = line.split("#")[0].strip()
if line == "":
continue
m = _VERSIONS_RE.match(line)
if not m: