def get_file(elt)->str: if hasattr(elt, '__wrapped__'): elt = elt.__wrapped__ if not nbdoc.is_fastai_class(elt): return None return inspect.getfile(elt)