summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2022-07-30 12:33:28 +0200
committerDaniele Nicolodi <daniele@grinta.net>2022-07-30 12:33:28 +0200
commit82ab3a75c37cf662455152bf8b58b99cf7251f41 (patch)
treebf00cc7d8e8ead51509ab79f70ae0fe50bc3619c /docs
parent0ba3c88dec4dfe283a13c77095b874c613124f98 (diff)
downloadpython-setuptools-git-82ab3a75c37cf662455152bf8b58b99cf7251f41.tar.gz
docs: Markup polishing
Diffstat (limited to 'docs')
-rw-r--r--docs/userguide/extension.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/userguide/extension.rst b/docs/userguide/extension.rst
index 78b2e7ef..31d32d61 100644
--- a/docs/userguide/extension.rst
+++ b/docs/userguide/extension.rst
@@ -129,12 +129,12 @@ what values of that argument are valid.
Customizing Distribution Options
--------------------------------
-Plugins may wish to extend or alter the options on a Distribution object to
+Plugins may wish to extend or alter the options on a ``Distribution`` object to
suit the purposes of that project. For example, a tool that infers the
``Distribution.version`` from SCM-metadata may need to hook into the
option finalization. To enable this feature, Setuptools offers an entry
-point "setuptools.finalize_distribution_options". That entry point must
-be a callable taking one argument (the Distribution instance).
+point ``setuptools.finalize_distribution_options``. That entry point must
+be a callable taking one argument (the ``Distribution`` instance).
If the callable has an ``.order`` property, that value will be used to
determine the order in which the hook is called. Lower numbers are called