Skip to content

Commit 13c9e2c

Browse files
committed
Expand the docstring to reference the specification.
1 parent 10ea1fc commit 13c9e2c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

importlib_metadata/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ class PackageNotFoundError(ModuleNotFoundError):
4949

5050

5151
class EntryPoint(collections.namedtuple('EntryPointBase', 'name value group')):
52-
"""An entry point as defined by Python packaging conventions."""
52+
"""An entry point as defined by Python packaging conventions.
53+
54+
See `the packaging docs on entry points
55+
<https://packaging.python.org/specifications/entry-points/>`_
56+
for more information.
57+
"""
5358

5459
pattern = re.compile(
5560
r'(?P<module>[\w.]+)\s*'

0 commit comments

Comments
 (0)