[Python-checkins] bpo-42727: Fix the NEWS entry .rst (GH-23932)

gpshead webhook-mailer at python.org
Thu Dec 24 23:31:27 EST 2020


https://github.com/python/cpython/commit/8badadec53cbf9dc049c5b54198c5689481e3f3f
commit: 8badadec53cbf9dc049c5b54198c5689481e3f3f
branch: master
author: Gregory P. Smith <greg at krypto.org>
committer: gpshead <greg at krypto.org>
date: 2020-12-24T20:31:18-08:00
summary:

bpo-42727: Fix the NEWS entry .rst (GH-23932)

It was causing CI failures.  the offending file came from https://github.com/python/cpython/pull/23917

```
python3 tools/rstlint.py ../Misc/NEWS.d/next/
[2] ../Misc/NEWS.d/next/Library/2020-12-23-19-43-06.bpo-42727.WH3ODh.rst:1: default role used
[2] ../Misc/NEWS.d/next/Library/2020-12-23-19-43-06.bpo-42727.WH3ODh.rst:2: default role used
2 problems with severity 2 found.
Makefile:204: recipe for target 'check' failed
```

files:
M Misc/NEWS.d/next/Library/2020-12-23-19-43-06.bpo-42727.WH3ODh.rst

diff --git a/Misc/NEWS.d/next/Library/2020-12-23-19-43-06.bpo-42727.WH3ODh.rst b/Misc/NEWS.d/next/Library/2020-12-23-19-43-06.bpo-42727.WH3ODh.rst
index a986cb960a79e..c2ef8eecb85e1 100644
--- a/Misc/NEWS.d/next/Library/2020-12-23-19-43-06.bpo-42727.WH3ODh.rst
+++ b/Misc/NEWS.d/next/Library/2020-12-23-19-43-06.bpo-42727.WH3ODh.rst
@@ -1,2 +1,2 @@
-`EnumMeta.__prepare__` now accepts `**kwds` to properly support
-`__init_subclass__`
+``EnumMeta.__prepare__`` now accepts ``**kwds`` to properly support
+``__init_subclass__``



More information about the Python-checkins mailing list