Andy Maier added the comment:

Your patch right now generates the line:

  New in version 2.6: bytes() has been added as an alias for str()

at the end of the paragraph for str().

To me, that is sufficient for the description of str().

If anything, we could add a separate paragraph for bytes(), after the paragraph 
for bytearray(), e.g. like this:

----------------------------------

.. function:: bytes()

   Alias for :func:`str`.

   .. versionadded:: 2.6

----------------------------------

If that is what you had in mind, I think it is a good idea to add it.

Andy

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17904>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to