# Documentation The glossary entry for [loader](https://docs.python.org/3.14/glossary.html#term-loader) explains it as > An object that loads a module. It must define a method named `load_module()`. However, the [Loader API](https://docs.python.org/3.14/library/importlib.html#importlib.abc.Loader) marks `load_module()` as > Deprecated since version 3.4 in favor of `exec_module()` and `create_module()`. <!-- gh-linked-prs --> ### Linked PRs * gh-129073 * gh-129077 * gh-129130 <!-- /gh-linked-prs -->