##// END OF EJS Templates
Fix wrong u-prefix for strings in magics docs. (#14161)...
Fix wrong u-prefix for strings in magics docs. (#14161) `%precision` doesn't output `u'%r'` on Python 3, but `'%r'`. (Note that the point of this PR is explicitly not to remove u-prefixes on all strings -- something that would likely be better done by automated tooling anyways -- but only on those occurring within some docstrings that end up in the rendered docs, which would more likely not have been found by tooling.)

File last commit:

r27796:5bb0259a
r28396:f5856e4b merge
Show More
docs.py
3 lines | 86 B | text/x-python | PythonLexer
import os
GENERATING_DOCUMENTATION = os.environ.get("IN_SPHINX_RUN", None) == "True"