[issue18217] Deprecate and remove gettext.install
Éric Araujo
report at bugs.python.org
Thu Mar 13 06:15:57 CET 2014
Éric Araujo added the comment:
> The doc for NullTranslations.install needs the erroneous '()'s removed to make clear
> that the bindings are to bound methods and not the result of calls to bound methods.
> Ie, self.gettest() should be just self.gettext.
The source contains :meth:`self.gettext`, and Sphinx adds the parentheses when creating markup for a function, probably because it’s common to say things like “the len() function”. There is a Sphinx config value to control that. If one wants to keep the parens for most functions but not have them in a few cases, other markup than :meth:/:func: has to be used.
----------
versions: +Python 3.5 -Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18217>
_______________________________________
More information about the Python-bugs-list
mailing list