Skip to content

Commit 448225f

Browse files
committed
very minor formatting changes in README.rst
1 parent 85abcaf commit 448225f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Use As A Python Module
126126
.. code-block:: python
127127
128128
In [1]: from translate import Translator
129-
In [2]: translator= Translator(to_lang="zh")
129+
In [2]: translator = Translator(to_lang="zh")
130130
In [3]: translation = translator.translate("This is a pen.")
131131
Out [3]: 这是一支笔
132132
@@ -147,7 +147,7 @@ Use a different translation provider
147147
148148
The DeepL Provider
149149
~~~~~~~~~~~~~~~~~~
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
151151

152152
.. code-block:: python
153153
@@ -171,7 +171,7 @@ Please send pull requests, very much appreciated.
171171
3. Install requirements. ``pip install -r requirements-dev.txt``
172172
4. Install pre-commit. ``pre-commit install``
173173
5. Run the tests with ``py.test -vv -s``
174-
6. Create a Pull Request with your contribution
174+
6. Create a Pull Request with your contribution.
175175

176176

177177

0 commit comments

Comments
 (0)