File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ Example::
139139 $ python3
140140
141141 >>> from past import autotranslate
142- >>> autotranslate('plotrique')
142+ >>> autotranslate([ 'plotrique'] )
143143 >>> import plotrique
144144
145145This transparently translates and runs the ``plotrique `` module and any
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ Then add the following code at the top of your (Py3 or Py2/3-compatible)
140140code::
141141
142142 from past import autotranslate
143- autotranslate('mypackagename')
143+ autotranslate([ 'mypackagename'] )
144144 import mypackagename
145145
146146This feature is experimental, and we would appreciate your feedback on
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ Then pass in a whitelist of module name prefixes to the ``past.autotranslate()``
5252function. Example::
5353
5454 >>> from past import autotranslate
55- >>> autotranslate('plotrique')
55+ >>> autotranslate([ 'plotrique'] )
5656 >>> import plotrique
5757
5858
You can’t perform that action at this time.
0 commit comments