DEBSOURCES
Skip Quicknav
sources / python-django / 2%3A2.2.28-1~deb11u2 / django / utils / itercompat.py
12345678
def is_iterable(x): "An implementation independent way of checking for iterables" try: iter(x) except TypeError: return False else: return True