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)

(cherry picked from commit 26248ef)
  • Loading branch information
berkerpeksag committed Nov 23, 2017
1 parent 70b2f87 commit a645b23
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 a645b23

Please sign in to comment.