diff --git a/googletrans/response.py b/googletrans/response.py index 69e5f50..35c3aa3 100644 --- a/googletrans/response.py +++ b/googletrans/response.py @@ -1,4 +1,4 @@ -class Translated: +class Translated(object): """ The Translated object, which contains Google Translator's result. @@ -22,7 +22,7 @@ class Translated: return u''.format( src=self.src, dest=self.dest, text=self.text, pronunciation=self.pronunciation) -class Detected: +class Detected(object): """ The detected object, which contains Google Translator's langauge detection result. diff --git a/googletrans/translator.py b/googletrans/translator.py index d84404c..90dda24 100644 --- a/googletrans/translator.py +++ b/googletrans/translator.py @@ -172,7 +172,6 @@ Advanced usage: return result - def get_languages(): return LANGUAGES