Skip to content

Commit 07d0242

Browse files
committed
Fix sphinx-lint errors in docs
1 parent 3664091 commit 07d0242

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

docs/deprecated/commands.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ installation options for dependencies.
266266
this option is automatically in effect, because ``.pth`` files can only be
267267
used in ``site-packages`` (at least in Python 2.3 and 2.4). So, if you use
268268
the ``--install-dir`` or ``-d`` option (or they are set via configuration
269-
file(s)) your project and its dependencies will be deployed in multi-
270-
version mode.
269+
file(s)) your project and its dependencies will be deployed in
270+
multi-version mode.
271271

272272
``--install-dir=DIR, -d DIR``
273273
Set the installation directory (staging area). If this option is not

docs/pkg_resources.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,10 @@ affected distribution is activated. For example::
228228
Basic ``WorkingSet`` Methods
229229
----------------------------
230230

231-
The following methods of ``WorkingSet`` objects are also available as module-
232-
level functions in ``pkg_resources`` that apply to the default ``working_set``
233-
instance. Thus, you can use e.g. ``pkg_resources.require()`` as an
234-
abbreviation for ``pkg_resources.working_set.require()``:
231+
The following methods of ``WorkingSet`` objects are also available as
232+
module-level functions in ``pkg_resources`` that apply to the default
233+
``working_set`` instance. Thus, you can use e.g. ``pkg_resources.require()``
234+
as an abbreviation for ``pkg_resources.working_set.require()``:
235235

236236

237237
``require(*requirements)``
@@ -1552,11 +1552,11 @@ Parsing Utilities
15521552
.. _yield_lines():
15531553

15541554
``yield_lines(strs)``
1555-
Yield non-empty/non-comment lines from a string/unicode or a possibly-
1556-
nested sequence thereof. If ``strs`` is an instance of ``basestring``, it
1557-
is split into lines, and each non-blank, non-comment line is yielded after
1558-
stripping leading and trailing whitespace. (Lines whose first non-blank
1559-
character is ``#`` are considered comment lines.)
1555+
Yield non-empty/non-comment lines from a string/unicode or a
1556+
possibly-nested sequence thereof. If ``strs`` is an instance of
1557+
``basestring``, it is split into lines, and each non-blank, non-comment
1558+
line is yielded after stripping leading and trailing whitespace. (Lines
1559+
whose first non-blank character is ``#`` are considered comment lines.)
15601560

15611561
If ``strs`` is not an instance of ``basestring``, it is iterated over, and
15621562
each item is passed recursively to ``yield_lines()``, so that an arbitrarily
@@ -1887,8 +1887,8 @@ History
18871887
* Fixed a bug in resource extraction from nested packages in a zipped egg.
18881888

18891889
0.5a12
1890-
* Updated extraction/cache mechanism for zipped resources to avoid inter-
1891-
process and inter-thread races during extraction. The default cache
1890+
* Updated extraction/cache mechanism for zipped resources to avoid
1891+
inter-process and inter-thread races during extraction. The default cache
18921892
location can now be set via the ``PYTHON_EGGS_CACHE`` environment variable,
18931893
and the default Windows cache is now a ``Python-Eggs`` subdirectory of the
18941894
current user's "Application Data" directory, if the ``PYTHON_EGGS_CACHE``

docs/userguide/distribution.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ equal to "final", or a dash (``-``) - for example ``2.4-r1263`` or
6161

6262
Notice that after each legacy pre or post-release tag, you are free to place
6363
another release number, followed again by more pre- or post-release tags. For
64-
example, ``0.6a9.dev41475`` could denote Subversion revision 41475 of the in-
65-
development version of the ninth alpha of release 0.6. Notice that ``dev`` is
66-
a pre-release tag, so this version is a *lower* version number than ``0.6a9``,
67-
which would be the actual ninth alpha of release 0.6. But the ``41475`` is
68-
a post-release tag, so this version is *newer* than ``0.6a9.dev``.
64+
example, ``0.6a9.dev41475`` could denote Subversion revision 41475 of the
65+
in-development version of the ninth alpha of release 0.6. Notice that ``dev``
66+
is a pre-release tag, so this version is a *lower* version number than
67+
``0.6a9``, which would be the actual ninth alpha of release 0.6. But the
68+
``41475`` is a post-release tag, so this version is *newer* than ``0.6a9.dev``.
6969

7070
For the most part, setuptools' interpretation of version numbers is intuitive,
7171
but here are a few tips that will keep you out of trouble in the corner cases:

0 commit comments

Comments
 (0)