@@ -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
@@ -232,7 +232,7 @@ Distribution metadata
232
232
`PackageMetadata protocol <https://importlib-metadata.readthedocs.io/en/latest/api.html#importlib_metadata.PackageMetadata >`_.
233
233
234
234
In addition to providing the defined protocol methods and attributes, subscripting
235
- the instance is equivalent to calling the :meth: `!~PackageMetadata. get ` method.
235
+ the instance is equivalent to calling the :meth: `!get ` method.
236
236
237
237
Every `Distribution Package <https://packaging.python.org/en/latest/glossary/#term-Distribution-Package >`_
238
238
includes some metadata, which you can extract using the :func: `!metadata ` function::
@@ -245,7 +245,7 @@ the values are returned unparsed from the distribution metadata::
245
245
>>> wheel_metadata['Requires-Python'] # doctest: +SKIP
246
246
'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
247
247
248
- :class: `PackageMetadata ` also presents a :attr: `!~PackageMetadata. json ` attribute that returns
248
+ :class: `PackageMetadata ` also presents a :attr: `!json ` attribute that returns
249
249
all the metadata in a JSON-compatible form per :PEP: `566 `::
250
250
251
251
>>> wheel_metadata.json['requires_python']
@@ -331,7 +331,7 @@ Once you have the file, you can also read its contents::
331
331
return s.encode('utf-8')
332
332
return s
333
333
334
- You can also use the :meth: `!~PackagePath. locate ` method to get the absolute
334
+ You can also use the :meth: `!locate ` method to get the absolute
335
335
path to the file::
336
336
337
337
>>> util.locate() # doctest: +SKIP
0 commit comments