Message224255
The documentation for standard types says [1]:
clear() and copy() are included for consistency with the interfaces of
mutable containers that don’t support slicing operations (such as dict
and set)
New in version 3.3: clear() and copy() methods.
[1] https://docs.python.org/3.4/library/stdtypes.html#immutable-sequence-types
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. |
|
Date |
User |
Action |
Args |
2014-07-29 21:28:19 | akira | set | recipients:
+ akira |
2014-07-29 21:28:19 | akira | set | messageid: <1406669299.88.0.807816572925.issue22101@psf.upfronthosting.co.za> |
2014-07-29 21:28:19 | akira | link | issue22101 messages |
2014-07-29 21:28:19 | akira | create | |
|