From 6667a88e3a763e5db728d2c15b8cbd7d5a1376fa 2017-11-20 19:49:28 From: Doug Latornell Date: 2017-11-20 19:49:28 Subject: [PATCH] Add linebreak to docstring to fix markup and silence Sphinx waraning. Without the added linebreak the line of ----- is treated as heading markup for the line below, and it is broken markup because it is an overline without an underline. With the added linebreak the line of ------ is rendered as an hr element and the line below is also rendered. --- diff --git a/IPython/utils/tokenize2.py b/IPython/utils/tokenize2.py index 3f653bb..be48b71 100644 --- a/IPython/utils/tokenize2.py +++ b/IPython/utils/tokenize2.py @@ -13,6 +13,7 @@ Patches: - u and rb literals are allowed under Python 3.3 and above. ------------------------------------------------------------------------------ + Tokenization help for Python programs. tokenize(readline) is a generator that breaks a stream of bytes into