Return true if the object is a class.
(object)
| 182 | return isinstance(object, types.ModuleType) |
| 183 | |
| 184 | def isclass(object): |
| 185 | """Return true if the object is a class.""" |
| 186 | return isinstance(object, type) |
| 187 | |
| 188 | def ismethod(object): |
| 189 | """Return true if the object is an instance method.""" |
no outgoing calls
no test coverage detected
searching dependent graphs…