Skip to content

Commit

Permalink
bpo-30456: Clarify example for duplicates in second argument of isins…
Browse files Browse the repository at this point in the history
…tance (GH-1699)
  • Loading branch information
eli-b authored and berkerpeksag committed Jul 24, 2017
1 parent 4c7532e commit 26248ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/2to3.rst
Expand Up @@ -288,7 +288,8 @@ and off individually. They are described here in more detail.
Fixes duplicate types in the second argument of :func:`isinstance`. For
example, ``isinstance(x, (int, int))`` is converted to ``isinstance(x,
(int))``.
int)`` and ``isinstance(x, (int, float, int))`` is converted to
``isinstance(x, (int, float))``.
.. 2to3fixer:: itertools_imports
Expand Down

0 comments on commit 26248ef

Please sign in to comment.