Return true if the object is a class. Class objects provide these attributes: __doc__ documentation string __module__ name of module in which this class was defined
(object)
| 290 | return isinstance(object, types.ModuleType) |
| 291 | |
| 292 | def isclass(object): |
| 293 | """Return true if the object is a class. |
| 294 | |
| 295 | Class objects provide these attributes: |
| 296 | __doc__ documentation string |
| 297 | __module__ name of module in which this class was defined""" |
| 298 | return isinstance(object, type) |
| 299 | |
| 300 | def ismethod(object): |
| 301 | """Return true if the object is an instance method. |
no outgoing calls
no test coverage detected