File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -196,14 +196,18 @@ The ``past`` package can now automatically translate some simple Python 2
196196modules to Python 3 upon import. The goal is to support the "long tail" of
197197real-world Python 2 modules (e.g. on PyPI) that have not been ported yet. For
198198example, here is how to use a Python 2-only package called ``plotrique `` on
199- Python 3. First install it::
199+ Python 3. First install it:
200+
201+ .. code-block :: bash
200202
201203 $ pip3 install plotrique==0.2.5-7 --no-compile # to ignore SyntaxErrors
202204
203205 (or use ``pip `` if this points to your Py3 environment.)
204206
205207Then pass a whitelist of module name prefixes to the ``autotranslate() `` function.
206- Example::
208+ Example:
209+
210+ .. code-block :: bash
207211
208212 $ python3
209213
You can’t perform that action at this time.
0 commit comments