mirror of https://github.com/flaggo/pydu.git
update compat doc
This commit is contained in:
parent
6840db503c
commit
9c38396fba
|
@ -1,11 +1,11 @@
|
|||
Compat
|
||||
------
|
||||
|
||||
.. class:: pydu.itercompat.is_iterable(x)
|
||||
.. class:: pydu.compat.is_iterable(x)
|
||||
|
||||
An implementation independent way of checking for iterables.
|
||||
|
||||
>>> from pydu.itercompat import is_iterable
|
||||
>>> from pydu.compat import is_iterable
|
||||
>>> is_iterable([])
|
||||
True
|
||||
>>> is_iterable(1)
|
||||
|
|
Loading…
Reference in New Issue