Return true if the object is a module.
(object)
| 178 | |
| 179 | # ----------------------------------------------------------- type-checking |
| 180 | def ismodule(object): |
| 181 | """Return true if the object is a module.""" |
| 182 | return isinstance(object, types.ModuleType) |
| 183 | |
| 184 | def isclass(object): |
| 185 | """Return true if the object is a class.""" |
no outgoing calls
no test coverage detected
searching dependent graphs…