def convert(self, s):
        if self.input_codec <> self.output_codec:
            return unicode(s, self.input_codec).encode(self.output_codec)
        else:
            return s
Parse 'N.N.N' sequences, return a list of ints.
dataset/ETHPy150Open babble/babble/include/jython/Lib/email/charset.py/Charset.convert--crossover with--dataset/ETHPy150Open crate-archive/crate-site/crateweb/apps/packages/utils/verlib.py/NormalizedVersion._parse_numdots