update compat doc

This commit is contained in:
Prodesire 2017-11-05 12:05:15 +08:00
parent 6840db503c
commit 9c38396fba
1 changed files with 2 additions and 2 deletions

View File

@ -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)