Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(11)  |  Derive(0)  |  Import(2)

src/m/d/MDAnalysis-0.8.1/MDAnalysis/coordinates/core.py   MDAnalysis(Download)
        # for the ambitious
        # Note: at the moment the upper-case extension *is* the format specifier
        if MDAnalysis.core.util.iterable(filename):
            # list of filenames, handled by ChainReader
            format = 'CHAIN'
        # internally, formats are all uppercase
        # enable chain reader with explicit format
        if MDAnalysis.core.util.iterable(filename):
            # list of filenames, handled by ChainReader
            format = 'CHAIN'

src/m/d/MDAnalysis-0.8.1/MDAnalysis/analysis/density.py   MDAnalysis(Download)
 
import MDAnalysis
from MDAnalysis.core.util import fixedwidth_bins, iterable, asiterable
from MDAnalysis import NoDataError, MissingDataWarning
 

src/m/d/MDAnalysis-0.8.1/MDAnalysis/coordinates/base.py   MDAnalysis(Download)
import MDAnalysis.core
from MDAnalysis.core import units, flags
from MDAnalysis.core.util import iterable, asiterable
import core
 

src/m/d/MDAnalysisTests-0.8.1/MDAnalysisTests/test_util.py   MDAnalysisTests(Download)
    def test_lists(self):
        assert_equal(util.iterable([1, 2, 3]), True)
        assert_equal(util.iterable([]), True)
    def test_tuples(self):
        assert_equal(util.iterable((1, 2, 3)), True)
        assert_equal(util.iterable(()), True)
    def test_iterator(self):
        assert_equal(util.iterable(xrange(3)), True)