[issue29549] Improve docstring for str.index

Serhiy Storchaka report at bugs.python.org
Thu Feb 23 00:42:36 EST 2017


Serhiy Storchaka added the comment:

I mean that this work is useless since it will be lost when convert str.index to Argument Clinic. Well, even when don't use Argument Clinic, but make str.index() be supported by inspect.signature(), the docstring should be significantly rewritten.

I think there are many other easy documentation issues for practicing.

And all proposed PRs change only the docstring of str.index. They don't touch docstrings of str.rindex, bytes.index, bytes.rindex, bytearray.index and bytearray.rindex. I can't approve such changes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29549>
_______________________________________


More information about the Python-bugs-list mailing list