Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/specifications/dependency-specifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ Whitespace
Non line-breaking whitespace is mostly optional with no semantic meaning. The
sole exception is detecting the end of a URL requirement.

When a dependency specifier is written as a quoted string, authors may keep
Comment thread
rgommers marked this conversation as resolved.
Resolved
optional whitespace for readability, such as around version specifiers and
version clauses.
Comment on lines +131 to +133

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two very minor issues here: (1) "a quoted string" isn't all that relevant here, and (2) "Around version specifiers and version clauses” is a little imprecise. So please consider adopting this rephrase:

Suggested change
When a dependency specifier is written as a quoted string, authors may keep
optional whitespace for readability, such as around version specifiers and
version clauses.
For readability, authors can retain the optional whitespace permitted by the
grammar, including around version comparison operators and between version
clauses.


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This restores a blank line between preceding paragraph and following ref target.

.. _dependency-specifiers-names:

Names
Expand Down