(obj, dotted_path)
| 313 | # Tools used for pickling. |
| 314 | |
| 315 | def _getattribute(obj, dotted_path): |
| 316 | for subpath in dotted_path: |
| 317 | obj = getattr(obj, subpath) |
| 318 | return obj |
| 319 | |
| 320 | def whichmodule(obj, name): |
| 321 | """Find the module an object belong to.""" |
no test coverage detected