Did I find the right examples for you? yes no

All Samples(10)  |  Call(2)  |  Derive(0)  |  Import(8)

src/c/o/cogent-1.5.3/cogent/parse/ebi.py   cogent(Download)
    LabeledRecordFinder, is_empty, TailedRecordFinder
from cogent.parse.record import RecordError, FieldError
from cogent.util.misc import identity, curry,\
        NestedSplitter, list_flatten
from cogent.core.sequence import Sequence

src/p/y/pycogent-HEAD/cogent/parse/ebi.py   pycogent(Download)
    LabeledRecordFinder, is_empty, TailedRecordFinder
from cogent.parse.record import RecordError, FieldError
from cogent.util.misc import identity, curry,\
        NestedSplitter, list_flatten
from cogent.core.sequence import Sequence

src/c/o/cogent-1.5.3/cogent/util/transform.py   cogent(Download)
from string import maketrans
from cogent.maths.stats.util import Freqs
from cogent.util.misc import identity, select
 
__author__ = "Sandra Smit"

src/p/y/pycogent-HEAD/cogent/util/transform.py   pycogent(Download)
from string import maketrans
from cogent.maths.stats.util import Freqs
from cogent.util.misc import identity, select
 
__author__ = "Sandra Smit"

src/c/o/cogent-1.5.3/tests/test_util/test_misc.py   cogent(Download)
from cogent.app.util import get_tmp_filename
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import (iterable, max_index, min_index,
    flatten, is_iterable, is_char, is_char_or_noniterable,
    is_str_or_noniterable, not_list_tuple, list_flatten,

src/p/y/pycogent-HEAD/tests/test_util/test_misc.py   pycogent(Download)
from cogent.app.util import get_tmp_filename
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import (iterable, max_index, min_index,
    flatten, is_iterable, is_char, is_char_or_noniterable,
    is_str_or_noniterable, not_list_tuple, list_flatten,

src/c/o/cogent-1.5.3/tests/test_util/test_transform.py   cogent(Download)
#!/usr/bin/env python
"""Tests of transformation and composition functions .
"""
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import identity
    def test_identity(self):
        """identity should return x"""
        for i in ['a', 'abc', None, '', [], [1], 1, 2**50, 0.3e-50, {'a':3}]:
            assert identity(i) is i
 

src/p/y/pycogent-HEAD/tests/test_util/test_transform.py   pycogent(Download)
#!/usr/bin/env python
"""Tests of transformation and composition functions .
"""
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import identity
    def test_identity(self):
        """identity should return x"""
        for i in ['a', 'abc', None, '', [], [1], 1, 2**50, 0.3e-50, {'a':3}]:
            assert identity(i) is i