mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix setup.py register failure with invalid rst in description (#13614).
Original patch by Julien Courteau and Pierre Paul Lefebvre.
This commit is contained in:
parent
9bc9ab5f85
commit
8b503c0a4e
4 changed files with 31 additions and 11 deletions
|
@ -23,6 +23,9 @@ try:
|
|||
|
||||
def system_message(self, level, message, *children, **kwargs):
|
||||
self.messages.append((level, message, children, kwargs))
|
||||
return nodes.system_message(message, level=level,
|
||||
type=self.levels[level],
|
||||
*children, **kwargs)
|
||||
|
||||
HAS_DOCUTILS = True
|
||||
except Exception:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue