"CPython implementation detail:" is removed when contents is translated (issue 28331)

http://bugs.python.org/review/28331/diff/18722/Doc/tools/extensions/pyspecif... File Doc/tools/extensions/pyspecific.py (right): http://bugs.python.org/review/28331/diff/18722/Doc/tools/extensions/pyspecif... Doc/tools/extensions/pyspecific.py:24: import sphinx.locale seems like it's more of a common pattern to do: from sphinx.locale import translators and then line 112 can become: label = translators['sphinx'].gettext(self.label_text) but maybe I'm too nitpicky :) http://bugs.python.org/review/28331/diff/18722/Doc/tools/extensions/pyspecif... Doc/tools/extensions/pyspecific.py:124: pnode[0].replace_self(nodes.paragraph('', '', content, translatable=False)) The line is kinda long. Do you think it could be broken using continuation line? Thanks. http://bugs.python.org/review/28331/
participants (1)
-
mariatta.wijaya@gmail.com