Return true if the object is a package.
(object)
| 190 | return isinstance(object, types.MethodType) |
| 191 | |
| 192 | def ispackage(object): |
| 193 | """Return true if the object is a package.""" |
| 194 | return ismodule(object) and hasattr(object, "__path__") |
| 195 | |
| 196 | def ismethoddescriptor(object): |
| 197 | """Return true if the object is a method descriptor. |
nothing calls this directly
no test coverage detected
searching dependent graphs…