Skip to content

Commit 18c69bc

Browse files
authored
Make entrypoint class singular
1 parent 283d1a3 commit 18c69bc

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@
395395
('py:func', 'find_packages'),
396396
('py:func', 'setup'),
397397
('py:func', 'importlib.metadata.entry_points'), # remove when 3.10 is released
398-
('py:class', 'importlib.metadata.EntryPoints'), # remove when 3.10 is released
398+
('py:class', 'importlib.metadata.EntryPoint'), # remove when 3.10 is released
399399
('py:func', 'setuptools.find_namespace_packages'),
400400
('py:func', 'setuptools.find_packages'),
401401
('py:func', 'setuptools.setup'),

source/guides/creating-and-discovering-plugins.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Then you can discover and load all of the registered entry points by using
151151
discovered_plugins = entry_points(group='myapp.plugins')
152152
153153
154-
In this example, ``discovered_plugins`` would be a collection of type :class:`importlib.metadata.EntryPoints`:
154+
In this example, ``discovered_plugins`` would be a collection of type :class:`importlib.metadata.EntryPoint`:
155155

156156
.. code-block:: python
157157
@@ -173,4 +173,3 @@ Now the module of your choice can be imported by executing
173173

174174
.. _Setuptools: https://setuptools.readthedocs.io
175175
.. _backport: https://importlib-metadata.readthedocs.io/en/latest/
176-

0 commit comments

Comments
 (0)