You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Which aren't visual glitches, as I can highlight the text with my mouse (as above). It only happens for these simple one-liners. More complicated tooltips from docstrings don't seem to have this issue, likely because the text in these two examples is triple-quoted for syntax highlighting, while docstrings are not.
The text was updated successfully, but these errors were encountered:
If we know that the text is a single line, then it might be good to just not add the double space.
Past that, I think it's a little strange that we're controlling the line breaks ourselves rather than letting the renderer do it, but that's a different discussion.
Because we want text to appear exactly as it is formatted inside the Python file. Many docs include manually formatted tables and code blocks which are getting messed up if line breaks are not preserved.
Which aren't visual glitches, as I can highlight the text with my mouse (as above). It only happens for these simple one-liners. More complicated tooltips from docstrings don't seem to have this issue, likely because the text in these two examples is triple-quoted for syntax highlighting, while docstrings are not.
The text was updated successfully, but these errors were encountered: