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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
string/Seq/MutableSeq to string, checking alphabet (PRIVATE).

For a string argument, returns the string.

For a Seq or MutableSeq, it checks the alphabet is compatible
(raising an exception if it isn't), and then returns a string.

src/p/y/pydna-0.6.1/pydna/dsdna.py   pydna(Download)
            return Seq.find(self, sub, start, end)
        sub_str = self._get_seq_str_and_check_alphabet(sub)
        return (str(self)+str(self)).find(sub_str, start, end)