There was an error while loading. Please reload this page.
1 parent 4c7532e commit 26248efCopy full SHA for 26248ef
1 file changed
Doc/library/2to3.rst
@@ -288,7 +288,8 @@ and off individually. They are described here in more detail.
288
289
Fixes duplicate types in the second argument of :func:`isinstance`. For
290
example, ``isinstance(x, (int, int))`` is converted to ``isinstance(x,
291
- (int))``.
+ int)`` and ``isinstance(x, (int, float, int))`` is converted to
292
+ ``isinstance(x, (int, float))``.
293
294
.. 2to3fixer:: itertools_imports
295
0 commit comments