@@ -146,7 +146,7 @@ and off individually. They are described here in more detail.
146
146
147
147
.. 2to3fixer:: filter
148
148
149
- Wraps :func:`filter` in a :class:`list` call.
149
+ Wraps :func:`filter` usage in a :class:`list` call.
150
150
151
151
.. 2to3fixer:: funcattrs
152
152
@@ -190,16 +190,16 @@ and off individually. They are described here in more detail.
190
190
191
191
.. 2to3fixer:: imports2
192
192
193
- Handles other modules reanmes in the standard library. It is separate from
194
- :2to3fixer:`imports` only because of technical limitations.
193
+ Handles other modules renames in the standard library. It is separate from
194
+ the :2to3fixer:`imports` fixer only because of technical limitations.
195
195
196
196
.. 2to3fixer:: input
197
197
198
198
Converts ``input(prompt)`` to ``eval(input(prompt))``
199
199
200
200
.. 2to3fixer:: intern
201
201
202
- Converts :func:`intern` to :func:`sys.itern `.
202
+ Converts :func:`intern` to :func:`sys.intern `.
203
203
204
204
.. 2to3fixer:: isinstance
205
205
@@ -221,11 +221,12 @@ and off individually. They are described here in more detail.
221
221
222
222
.. 2to3fixer:: long
223
223
224
- Strips the ``L`` prefix on numbers and renamed :class:`long` to :class:`int`.
224
+ Strips the ``L`` prefix on long literals and renames :class:`long` to
225
+ :class:`int`.
225
226
226
227
.. 2to3fixer:: map
227
228
228
- Wraps :func:`map` in a :class:`list` call. It also changes ``map(none , x)``
229
+ Wraps :func:`map` in a :class:`list` call. It also changes ``map(None , x)``
229
230
to ``list(x)``. Using ``from future_builtins import map`` disables this
230
231
fixer.
231
232
@@ -259,15 +260,15 @@ and off individually. They are described here in more detail.
259
260
.. 2to3fixer:: paren
260
261
261
262
Add extra parenthesis where they are required in list comprehensions. For
262
- example, ``[x for x in 1, 2]`` to ``[x for x in (1, 2)]``.
263
+ example, ``[x for x in 1, 2]`` becomes ``[x for x in (1, 2)]``.
263
264
264
265
.. 2to3fixer:: print
265
266
266
267
Converts the :keyword:`print` statement to the :func:`print` function.
267
268
268
269
.. 2to3fixer:: raises
269
270
270
- Converts ``raise E, V`` to ``raise E(V)``, and ``raise E, V, T`` as ``raise
271
+ Converts ``raise E, V`` to ``raise E(V)``, and ``raise E, V, T`` to ``raise
271
272
E(V).with_traceback(T)``. If ``E`` is a tuple, the translation will be
272
273
incorrect because substituting tuples for exceptions has been removed in 3.0.
273
274
@@ -303,7 +304,7 @@ and off individually. They are described here in more detail.
303
304
304
305
.. 2to3fixer:: throw
305
306
306
- Fixes the API change in generators :meth:`throw` method.
307
+ Fixes the API change in generator's :meth:`throw` method.
307
308
308
309
.. 2to3fixer:: tuple_params
309
310
@@ -336,7 +337,7 @@ and off individually. They are described here in more detail.
336
337
337
338
.. 2to3fixer:: xreadlines
338
339
339
- Change ``for x in file.xreadlines()`` to ``for x in file``.
340
+ Changes ``for x in file.xreadlines()`` to ``for x in file``.
340
341
341
342
.. 2to3fixer:: zip
342
343
0 commit comments