[issue17626] set's __isub__ doesn't support non-sets.

Antoine Pitrou report at bugs.python.org
Tue Apr 9 01:06:33 CEST 2013


Antoine Pitrou added the comment:

I actually like that list.__iadd__ accepts any iterable, it's a rather nice piece of duck-typing.

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list