On Nov 4, 10:21 am, de...@web.de (Diez B. Roggisch) wrote: > macm <moura.ma...@gmail.com> writes:
> for value in d.values(): > if isinstance(value, dict): I'm not a Python guru, but... do you care that you're breaking duck typing here? I've had other programmers warn me against using isinstance() for this reason. Yes, it's part of the Python language, but some people wonder whether it should be there. -- http://mail.python.org/mailman/listinfo/python-list