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

miss-islington webhook-mailer at python.org
Thu Dec 24 23:53:35 EST 2020


https://github.com/python/cpython/commit/5a6b5d8c392ca7028e7c034710a89492cd704778
commit: 5a6b5d8c392ca7028e7c034710a89492cd704778
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-12-24T20:53:27-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
```
(cherry picked from commit 8badadec53cbf9dc049c5b54198c5689481e3f3f)

Co-authored-by: Gregory P. Smith <greg at krypto.org>

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