Skip to content

Commit 907ab88

Browse files
authored
Merge pull request #413 from jogo/docs
Update doc/futurize to reflect what gets run
2 parents 0cd1e50 + cfc494e commit 907ab88

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

docs/futurize.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ The complete set of fixers applied by ``futurize --stage1`` is:
8181

8282
lib2to3.fixes.fix_apply
8383
lib2to3.fixes.fix_except
84+
lib2to3.fixes.fix_exec
8485
lib2to3.fixes.fix_exitfunc
8586
lib2to3.fixes.fix_funcattrs
8687
lib2to3.fixes.fix_has_key
@@ -224,9 +225,7 @@ becomes::
224225

225226
The complete list of fixers applied in Stage 2 is::
226227

227-
lib2to3.fixes.fix_basestring
228228
lib2to3.fixes.fix_dict
229-
lib2to3.fixes.fix_exec
230229
lib2to3.fixes.fix_getcwdu
231230
lib2to3.fixes.fix_input
232231
lib2to3.fixes.fix_itertools
@@ -239,8 +238,9 @@ The complete list of fixers applied in Stage 2 is::
239238
lib2to3.fixes.fix_raw_input
240239
lib2to3.fixes.fix_zip
241240

241+
libfuturize.fixes.fix_basestring
242242
libfuturize.fixes.fix_cmp
243-
libfuturize.fixes.fix_division
243+
libfuturize.fixes.fix_division_safe
244244
libfuturize.fixes.fix_execfile
245245
libfuturize.fixes.fix_future_builtins
246246
libfuturize.fixes.fix_future_standard_library
@@ -269,11 +269,6 @@ Not applied::
269269
lib2to3.fixes.fix_xrange # Custom one because of a bug with Py3.3's lib2to3
270270

271271

272-
Fixes applied with the ``futurize --conservative`` option::
273-
274-
libfuturize.fixes.fix_division_safe # instead of libfuturize.fixes.fix_division.
275-
276-
277272

278273
.. Ideally the output of this stage should not be a ``SyntaxError`` on either
279274
.. Python 3 or Python 2.

0 commit comments

Comments
 (0)