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

All Samples(10)  |  Call(5)  |  Derive(0)  |  Import(5)

src/s/i/sickbeard_mp4_automator-HEAD/setup/subliminal/subliminal/converters/podnapisi.py   sickbeard_mp4_automator(Download)
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from babelfish import LanguageReverseConverter, LanguageConvertError, LanguageReverseError
 
 
        if (alpha3, country, script) in self.to_podnapisi:
            return self.to_podnapisi[(alpha3, country, script)]
        raise LanguageConvertError(alpha3, country, script)
 
    def reverse(self, podnapisi):

src/s/u/subliminal-0.7.4/subliminal/converters/podnapisi.py   subliminal(Download)
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from babelfish import LanguageReverseConverter, LanguageConvertError, LanguageReverseError
 
 
        if (alpha3, country, script) in self.to_podnapisi:
            return self.to_podnapisi[(alpha3, country, script)]
        raise LanguageConvertError(alpha3, country, script)
 
    def reverse(self, podnapisi):

src/s/u/subliminal-HEAD/subliminal/converters/podnapisi.py   subliminal(Download)
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from babelfish import LanguageReverseConverter, LanguageConvertError, LanguageReverseError
 
 
        if (alpha3, country, script) in self.to_podnapisi:
            return self.to_podnapisi[(alpha3, country, script)]
        raise LanguageConvertError(alpha3, country, script)
 
    def reverse(self, podnapisi):

src/s/i/sickbeard_mp4_automator-HEAD/babelfish/tests.py   sickbeard_mp4_automator(Download)
from unittest import TestCase, TestSuite, TestLoader, TextTestRunner
from pkg_resources import resource_stream  # @UnresolvedImport
from babelfish import (LANGUAGES, Language, Country, Script, language_converters, country_converters,
    LanguageReverseConverter, LanguageConvertError, LanguageReverseError, CountryReverseError)
 
            def convert(self, alpha3, country=None, script=None):
                if alpha3 not in self.to_test:
                    raise LanguageConvertError(alpha3, country, script)
                return self.to_test[alpha3]
 

src/b/a/babelfish-0.5.1/babelfish/tests.py   babelfish(Download)
from unittest import TestCase, TestSuite, TestLoader, TextTestRunner
from pkg_resources import resource_stream  # @UnresolvedImport
from babelfish import (LANGUAGES, Language, Country, Script, language_converters, country_converters,
    LanguageReverseConverter, LanguageConvertError, LanguageReverseError, CountryReverseError)
 
            def convert(self, alpha3, country=None, script=None):
                if alpha3 not in self.to_test:
                    raise LanguageConvertError(alpha3, country, script)
                return self.to_test[alpha3]