From 82ab3a75c37cf662455152bf8b58b99cf7251f41 Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Sat, 30 Jul 2022 12:33:28 +0200 Subject: docs: Markup polishing --- docs/userguide/extension.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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 -- cgit v1.2.1