[issue10516] Add list.clear() and list.copy()

Eli Bendersky report at bugs.python.org
Sat Dec 4 21:38:43 CET 2010


Eli Bendersky <eliben at gmail.com> added the comment:

Following Éric's suggestion, I'm attaching an updated patch with with the documentation in Doc/library/stdtypes.rst updated with the new methods.

There seems to be a slight Sphinx markup problem with this addition. I rewrote note (8) as:

   :meth:`clear`, :meth:`copy` and :meth:`sort` are not supported by
   :class:`bytearray` objects.

Unfortunately, :meth:`copy` is getting linked to the copy module.

----------
keywords: +patch
Added file: http://bugs.python.org/file19943/issue10516.3.patch

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


More information about the Python-bugs-list mailing list