We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c1a0d commit 32d333dCopy full SHA for 32d333d
release.py
@@ -248,7 +248,7 @@ def run_cmd(
248
error(f"{cmd} failed")
249
250
251
-readme_re = re.compile(r"This is Python version [23]\.\d").match
+readme_re = re.compile(r"This is Python version 3\.\d").match
252
253
254
def chdir_to_repo_root() -> str:
@@ -279,12 +279,8 @@ def test_first_line(
279
return False
280
return True
281
282
- if not (
283
- test_first_line("README", readme_re)
284
- or test_first_line("README.rst", readme_re)
285
- ):
+ if not test_first_line("README.rst", readme_re):
286
continue
287
-
288
if not test_first_line("LICENSE", "A. HISTORY OF THE SOFTWARE".__eq__):
289
290
if not os.path.exists("Include/Python.h"):
0 commit comments