Commit f5dd914
committed
Support type objects in isinstance().
E.g. isinstance('',types.StringType) will return true now instead of
raising a TypeError exception. This is for JPython compatibility.1 parent 6cedf82 commit f5dd914
1 file changed
Lines changed: 15 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1627 | 1627 | | |
1628 | 1628 | | |
1629 | 1629 | | |
1630 | | - | |
1631 | | - | |
1632 | | - | |
1633 | | - | |
| 1630 | + | |
| 1631 | + | |
1634 | 1632 | | |
1635 | | - | |
1636 | | - | |
1637 | | - | |
1638 | 1633 | | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
1642 | 1647 | | |
1643 | 1648 | | |
1644 | 1649 | | |
| |||
0 commit comments