Skip to content

Commit 81c0f97

Browse files
committed
Document whitespace in quoted dependency specifiers
1 parent c9d0b69 commit 81c0f97

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

source/specifications/dependency-specifiers.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ include extras, which expand the dependencies of the named distribution to
4444
enable optional features. The version installed can be controlled using
4545
version limits, or giving the URL to a specific artifact to install. Finally
4646
the dependency can be made conditional using environment markers.
47-
4847
Grammar
4948
-------
5049

@@ -127,6 +126,9 @@ Whitespace
127126

128127
Non line-breaking whitespace is mostly optional with no semantic meaning. The
129128
sole exception is detecting the end of a URL requirement.
129+
When a dependency specifier is written as a quoted string, authors may keep
130+
optional whitespace for readability, such as around version specifiers and
131+
version clauses.
130132

131133
.. _dependency-specifiers-names:
132134

0 commit comments

Comments
 (0)