[New-bugs-announce] [issue22101] collections.abc.Set doesn't provide copy() method
report at bugs.python.org
Tue Jul 29 23:28:19 CEST 2014
New submission from Akira Li:
The documentation for standard types says :
clear() and copy() are included for consistency with the interfaces of
mutable containers that don’t support slicing operations (such as dict
New in version 3.3: clear() and copy() methods.
but collections.abc documentation mentions only clear() method.
I've uploaded a patch that implements Set.copy() method, mentions it in
Set's documentation, and adds a sanity test.
components: Library (Lib)
title: collections.abc.Set doesn't provide copy() method
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file36153/set-copy.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce