Commit a216d02
Merge multiple isinstance() calls to one (#6481)
https://docs.python.org/3/library/functions.html#isinstance
> If classinfo is a tuple of type objects (or recursively, other such
> tuples), return true if object is an instance of any of the types.1 parent 31bf597 commit a216d02
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
1663 | | - | |
| 1663 | + | |
1664 | 1664 | | |
1665 | 1665 | | |
1666 | 1666 | | |
| |||
0 commit comments