def get_stub(module: str) -> Optional[nodes.MypyFile]:
    "Returns a stub object for the given module, if we've built one."
    return _all_stubs.get(module)
Returns a stub object for the given module, if we've built one.
def get_stub(module: str) -> Optional[nodes.MypyFile]:
    
    return _all_stubs.get(module)