Module utilities
source code
:mod:`edPDB.utilities` -- Helper functions and classes
========================================================
The module defines some convenience functions and classes that are
used in other modules
Functions
---------
Functions that improve list processing and which do *not* treat
strings as lists:
.. autofunction:: iterable
.. autofunction:: asiterable
|
iterable(obj)
Returns ``True`` if *obj* can be iterated over and is *not* a
string. |
source code
|
|
|
asiterable(obj)
Returns obj so that it can be iterated over; a string is *not*
treated as iterable |
source code
|
|