@@ -63,7 +63,7 @@ support.
6363
6464.. class :: ImpLoader(fullname, file, filename, etc)
6565
66- :pep: ` 302 ` Loader that wraps Python's "classic" import algorithm.
66+ :term: ` Loader ` that wraps Python's "classic" import algorithm.
6767
6868 .. deprecated :: 3.3
6969 This emulation is no longer needed, as the standard import mechanism
@@ -72,7 +72,7 @@ support.
7272
7373.. function :: find_loader(fullname)
7474
75- Retrieve a :pep: ` 302 ` module loader for the given *fullname *.
75+ Retrieve a module :term: ` loader ` for the given *fullname *.
7676
7777 This is a backwards compatibility wrapper around
7878 :func: `importlib.util.find_spec ` that converts most failures to
@@ -88,7 +88,7 @@ support.
8888
8989.. function :: get_importer(path_item)
9090
91- Retrieve a :pep: ` 302 ` finder for the given *path_item *.
91+ Retrieve a :term: ` finder ` for the given *path_item *.
9292
9393 The returned finder is cached in :data: `sys.path_importer_cache ` if it was
9494 newly created by a path hook.
@@ -103,7 +103,7 @@ support.
103103
104104.. function :: get_loader(module_or_name)
105105
106- Get a :pep: ` 302 ` " loader" object for *module_or_name *.
106+ Get a :term: ` loader ` object for *module_or_name *.
107107
108108 If the module or package is accessible via the normal import mechanism, a
109109 wrapper around the relevant part of that machinery is returned. Returns
@@ -121,7 +121,7 @@ support.
121121
122122.. function :: iter_importers(fullname='')
123123
124- Yield :pep: ` 302 ` finders for the given module name.
124+ Yield :term: ` finder ` objects for the given module name.
125125
126126 If fullname contains a '.', the finders will be for the package
127127 containing fullname, otherwise they will be all registered top level
@@ -201,7 +201,7 @@ support.
201201
202202 Get a resource from a package.
203203
204- This is a wrapper for the :pep: ` 302 ` loader :func: `get_data ` API. The
204+ This is a wrapper for the :term: ` loader ` :func: `get_data ` API. The
205205 *package * argument should be the name of a package, in standard module format
206206 (``foo.bar ``). The *resource * argument should be in the form of a relative
207207 filename, using ``/ `` as the path separator. The parent directory name
@@ -216,5 +216,5 @@ support.
216216 d = os.path.dirname(sys.modules[package].__file__)
217217 data = open(os.path.join(d, resource), 'rb').read()
218218
219- If the package cannot be located or loaded, or it uses a :pep: ` 302 ` loader
219+ If the package cannot be located or loaded, or it uses a :term: ` loader `
220220 which does not support :func: `get_data `, then ``None `` is returned.
0 commit comments