You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.rst
+3-3
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ Use As A Python Module
126
126
.. code-block:: python
127
127
128
128
In [1]: from translate import Translator
129
-
In [2]: translator= Translator(to_lang="zh")
129
+
In [2]: translator= Translator(to_lang="zh")
130
130
In [3]: translation = translator.translate("This is a pen.")
131
131
Out [3]: 这是一支笔
132
132
@@ -147,7 +147,7 @@ Use a different translation provider
147
147
148
148
The DeepL Provider
149
149
~~~~~~~~~~~~~~~~~~
150
-
To use DeepL's pro API, pass an additional parameter called pro to the Translator object and set it to True and use your pro authentication key as the secret_access_key
150
+
To use DeepL's pro API, pass an additional parameter named pro to the Translator object and set it to True and use your pro authentication key as the secret_access_key
151
151
152
152
.. code-block:: python
153
153
@@ -171,7 +171,7 @@ Please send pull requests, very much appreciated.
0 commit comments