[docs] [issue24659] dict() built-in fails on iterators with a "keys" attribute

R. David Murray report at bugs.python.org
Sat Jul 18 13:45:44 CEST 2015


R. David Murray added the comment:

Well, this is an example of duck typing, something we commonly do in Python.  I'm not convinced this is a bug.

----------
nosy: +r.david.murray

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


More information about the docs mailing list