Import the described module. If *strict* is true, an ImportError may be raised if importing fails, otherwise, None is returned on error.
(self, *, strict=False)
| 131 | self.member_name = member_name |
| 132 | |
| 133 | def import_module(self, *, strict=False): |
| 134 | """Import the described module. |
| 135 | |
| 136 | If *strict* is true, an ImportError may be raised if importing fails, |
| 137 | otherwise, None is returned on error. |
| 138 | """ |
| 139 | return _import_module(self.module_name, strict=strict) |
| 140 | |
| 141 | def import_member(self, *, strict=False): |
| 142 | """Import the described member. |