Skip to content

Commit 89c8030

Browse files
authored
Corrected lists of fixers
1 parent a8114e4 commit 89c8030

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

docs/futurize.rst

Lines changed: 6 additions & 12 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
@@ -106,7 +107,6 @@ The complete set of fixers applied by ``futurize --stage1`` is:
106107
libfuturize.fixes.fix_print_with_import
107108
libfuturize.fixes.fix_raise
108109
109-
110110
The following fixers from ``lib2to3`` are not applied:
111111

112112
.. code-block:: python
@@ -224,23 +224,23 @@ becomes::
224224

225225
The complete list of fixers applied in Stage 2 is::
226226

227-
lib2to3.fixes.fix_basestring
228227
lib2to3.fixes.fix_dict
229-
lib2to3.fixes.fix_exec
228+
lib2to3.fixes.fix_filter
230229
lib2to3.fixes.fix_getcwdu
231230
lib2to3.fixes.fix_input
232231
lib2to3.fixes.fix_itertools
233232
lib2to3.fixes.fix_itertools_imports
234-
lib2to3.fixes.fix_filter
235233
lib2to3.fixes.fix_long
236234
lib2to3.fixes.fix_map
235+
lib2to3.fixes.fix_next
237236
lib2to3.fixes.fix_nonzero
238237
lib2to3.fixes.fix_operator
239238
lib2to3.fixes.fix_raw_input
240239
lib2to3.fixes.fix_zip
241-
240+
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,12 +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-
277-
278272
.. Ideally the output of this stage should not be a ``SyntaxError`` on either
279273
.. Python 3 or Python 2.
280274

0 commit comments

Comments
 (0)