Test whether an object is an instance of the Rat class.
(x)
| 22 | return 0 |
| 23 | |
| 24 | def isRat(x): |
| 25 | """Test whether an object is an instance of the Rat class.""" |
| 26 | return isinstance(x, Rat) |
| 27 | |
| 28 | class Rat(object): |
| 29 |
no outgoing calls
no test coverage detected
searching dependent graphs…