bpo-36298: Raise ModuleNotFoundError in pyclbr when a module can't be found (GH-12358)



Before, an `AttributeError` was raised due to trying to access an attribute that exists on specs but having received `None` instead for a non-existent module.


https://bugs.python.org/issue36298
3 files changed