@@ -122,7 +122,7 @@ Entry points
122
122
123
123
Returns a :class: `EntryPoints ` instance describing entry points for the
124
124
current environment. Any given keyword parameters are passed to the
125
- :meth: `!~EntryPoints. select ` method for comparison to the attributes of
125
+ :meth: `!select ` method for comparison to the attributes of
126
126
the individual entry point definitions.
127
127
128
128
Note: it is not currently possible to query for entry points based on
@@ -158,7 +158,7 @@ attributes for convenience::
158
158
>>> sorted(eps.groups) # doctest: +SKIP
159
159
['console_scripts', 'distutils.commands', 'distutils.setup_keywords', 'egg_info.writers', 'setuptools.installation']
160
160
161
- :class: `!EntryPoints ` has a :meth: `!~EntryPoints. select ` method to select entry points
161
+ :class: `!EntryPoints ` has a :meth: `!select ` method to select entry points
162
162
matching specific properties. Select entry points in the
163
163
``console_scripts `` group::
164
164
@@ -230,7 +230,7 @@ Distribution metadata
230
230
`PackageMetadata protocol <https://importlib-metadata.readthedocs.io/en/latest/api.html#importlib_metadata.PackageMetadata >`_.
231
231
232
232
In addition to providing the defined protocol methods and attributes, subscripting
233
- the instance is equivalent to calling the :meth: `!~PackageMetadata. get ` method.
233
+ the instance is equivalent to calling the :meth: `!get ` method.
234
234
235
235
Every `Distribution Package <https://packaging.python.org/en/latest/glossary/#term-Distribution-Package >`_
236
236
includes some metadata, which you can extract using the :func: `!metadata ` function::
@@ -243,7 +243,7 @@ the values are returned unparsed from the distribution metadata::
243
243
>>> wheel_metadata['Requires-Python'] # doctest: +SKIP
244
244
'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
245
245
246
- :class: `PackageMetadata ` also presents a :attr: `!~PackageMetadata. json ` attribute that returns
246
+ :class: `PackageMetadata ` also presents a :attr: `!json ` attribute that returns
247
247
all the metadata in a JSON-compatible form per :PEP: `566 `::
248
248
249
249
>>> wheel_metadata.json['requires_python']
@@ -329,7 +329,7 @@ Once you have the file, you can also read its contents::
329
329
return s.encode('utf-8')
330
330
return s
331
331
332
- You can also use the :meth: `!~PackagePath. locate ` method to get the absolute
332
+ You can also use the :meth: `!locate ` method to get the absolute
333
333
path to the file::
334
334
335
335
>>> util.locate() # doctest: +SKIP
0 commit comments