mirror of https://github.com/flaggo/pydu.git
change " to """ in itercompat.is_iterable
This commit is contained in:
parent
19d39df798
commit
76f94bb4fe
|
@ -1,5 +1,5 @@
|
|||
def is_iterable(x):
|
||||
"An implementation independent way of checking for iterables"
|
||||
"""An implementation independent way of checking for iterables."""
|
||||
try:
|
||||
iter(x)
|
||||
except TypeError:
|
||||
|
|
Loading…
Reference in New Issue