File tree 1 file changed +5
-6
lines changed
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
31
31
pip install future
32
32
33
33
**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::
36
36
37
- futurize --stage1 -w **/*.py
37
+ futurize --stage1 -w .
38
38
39
39
**1c **. Commit all changes
40
40
@@ -79,10 +79,9 @@ again with the help of the ``future`` package.
79
79
80
80
futurize --stage2 myfolder1/*.py myfolder2/*.py
81
81
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::
84
83
85
- futurize --stage2 **/*.py
84
+ futurize --stage2 .
86
85
87
86
To apply the changes, add the ``-w `` argument.
88
87
You can’t perform that action at this time.
0 commit comments