Skip to content

Commit ff76818

Browse files
authored
_Finder.find - fix docstring markdown rendering (#5103)
2 parents a49f6b9 + 03eeed6 commit ff76818

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

setuptools/discovery.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,22 @@ def find(
9595
include: Iterable[str] = ('*',),
9696
) -> list[str]:
9797
"""Return a list of all Python items (packages or modules, depending on
98-
the finder implementation) found within directory 'where'.
98+
the finder implementation) found within directory ``where``.
9999
100-
'where' is the root directory which will be searched.
100+
``where`` is the root directory which will be searched.
101101
It should be supplied as a "cross-platform" (i.e. URL-style) path;
102102
it will be converted to the appropriate local path syntax.
103103
104-
'exclude' is a sequence of names to exclude; '*' can be used
104+
``exclude`` is a sequence of names to exclude; ``*`` can be used
105105
as a wildcard in the names.
106-
When finding packages, 'foo.*' will exclude all subpackages of 'foo'
107-
(but not 'foo' itself).
106+
When finding packages, ``foo.*`` will exclude all subpackages of ``foo``
107+
(but not ``foo`` itself).
108108
109-
'include' is a sequence of names to include.
109+
``include`` is a sequence of names to include.
110110
If it's specified, only the named items will be included.
111111
If it's not specified, all found items will be included.
112-
'include' can contain shell style wildcard patterns just like
113-
'exclude'.
112+
``include`` can contain shell style wildcard patterns just like
113+
``exclude``.
114114
"""
115115

116116
exclude = exclude or cls.DEFAULT_EXCLUDE

0 commit comments

Comments
 (0)