Chris replied
Jonathan Fine opined:
Chris Angelico stated:
Chris
-----
It's way WAY simpler than all this. "Iterable" isn't a type, it's a
protocol; in fact, "iterable" just means "has an __iter__ method".
Jonathan
--------
I think that for Chris this is a FACT about Python. This is the way Python is.
Jonathan, you just lost some serious credibility. You really should do more
research before posting.
Chris
-----
"For me"? No. It is, pure and simply, a fact about Python. That is how
the language is defined. It's not "for me" a fact, as if facts might
not be facts for other people. That isn't how facts work, and it isn't
how Python works.
And if you want some examples, try here:
https://stackoverflow.com/a/7542261/208880
--
~Ethan~
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/