By designing an API that doesn't require such overloading. <br><br>On Thursday, January 2, 2014, Alexander Heger wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>> isinstance(x, Iterable) and not isinstance(x, str)<br>
><br>
> If you find yourself typing that a lot I think you have a bigger problem though.<br>
<br>
How do you replace this?<br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Python-ideas@python.org')">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a><br>
</blockquote><br><br>-- <br>--Guido van Rossum (on iPad)<br>