= commited on
Commit
2316fd5
·
1 Parent(s): 6ed0468

updated readme

Browse files
Files changed (1) hide show
  1. README.rst +2 -1
README.rst CHANGED
@@ -104,7 +104,6 @@ Usage
104
 
105
  from deep_translator import GoogleTranslator, PonsTranslator, LingueeTranslator, MyMemoryTranslator, detect_language
106
 
107
- text = 'happy coding'
108
 
109
 
110
  .. note::
@@ -140,6 +139,8 @@ Usage
140
 
141
  .. code-block:: python
142
 
 
 
143
  translated = GoogleTranslator(source='auto', target='de').translate(text=text)
144
 
145
  # Alternatively, you can pass languages by their name:
 
104
 
105
  from deep_translator import GoogleTranslator, PonsTranslator, LingueeTranslator, MyMemoryTranslator, detect_language
106
 
 
107
 
108
 
109
  .. note::
 
139
 
140
  .. code-block:: python
141
 
142
+ text = 'happy coding'
143
+
144
  translated = GoogleTranslator(source='auto', target='de').translate(text=text)
145
 
146
  # Alternatively, you can pass languages by their name: