From 0f444ba3a786d6baca41acb4a9e81ef7ec26c1c9 Mon Sep 17 00:00:00 2001 From: Herrtian <70463940+Herrtian@users.noreply.github.com> Date: Sun, 10 May 2026 19:16:22 +0200 Subject: [PATCH] Document whitespace in quoted dependency specifiers --- source/specifications/dependency-specifiers.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/specifications/dependency-specifiers.rst b/source/specifications/dependency-specifiers.rst index 99886563c..fb7836bc9 100644 --- a/source/specifications/dependency-specifiers.rst +++ b/source/specifications/dependency-specifiers.rst @@ -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 +optional whitespace for readability, such as around version specifiers and +version clauses. + .. _dependency-specifiers-names: Names