Mercurial > hg > WSGraph
view wsgraph/utils.py @ 43:6e6da56f0d68
last notes!
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 12 Apr 2013 01:47:19 -0700 |
parents | f1f7a505e0d0 |
children |
line wrap: on
line source
""" utility functions that should be in core python """ def isiterable(instance): try: iter(instance) return True except TypeError: return False