File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ The goal for this step is to modernize the Python 2 code without introducing any
3131 pip install future
3232
3333**1b **. Run ``futurize --stage1 -w *.py subdir1/*.py subdir2/*.py ``. Note that with
34- recursive globbing in ``bash `` or ``zsh ``, you can apply stage 1 to all Python
35- source files recursively with::
34+ recursive globbing in ``bash `` or ``zsh ``, you can apply stage 1 to all source files
35+ recursively with::
3636
37- futurize --stage1 -w **/*.py
37+ futurize --stage1 -w .
3838
3939**1c **. Commit all changes
4040
@@ -79,10 +79,9 @@ again with the help of the ``future`` package.
7979
8080 futurize --stage2 myfolder1/*.py myfolder2/*.py
8181
82- Or, using recursive globbing with ``bash `` or ``zsh ``, you can view the stage 2
83- changes to all Python source files recursively with::
82+ You can view the stage 2 changes to all Python source files recursively with::
8483
85- futurize --stage2 **/*.py
84+ futurize --stage2 .
8685
8786To apply the changes, add the ``-w `` argument.
8887
You can’t perform that action at this time.
0 commit comments