Skip to content

Commit b42cd5a

Browse files
authored
Merge pull request #1780 from brettcannon/patch-2
Add labels to dependency-specifiers.rst for cross-referencing
2 parents 7013651 + 26fb5aa commit b42cd5a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/specifications/dependency-specifiers.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ Whitespace
128128
Non line-breaking whitespace is mostly optional with no semantic meaning. The
129129
sole exception is detecting the end of a URL requirement.
130130

131+
.. _dependency-specifiers-names:
132+
131133
Names
132134
-----
133135

@@ -142,6 +144,8 @@ with re.IGNORECASE) is::
142144

143145
^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$
144146

147+
.. _dependency-specifiers-extras:
148+
145149
Extras
146150
------
147151

@@ -159,6 +163,8 @@ are listed in the "security" extra of requests.
159163

160164
If multiple extras are listed, all the dependencies are unioned together.
161165

166+
.. _dependency-specifiers-versions:
167+
162168
Versions
163169
--------
164170

@@ -170,6 +176,8 @@ via a URL. Version comparison are also used in the markers feature. The
170176
optional brackets around a version are present for compatibility with
171177
:pep:`345` but should not be generated, only accepted.
172178

179+
.. _dependency-specifiers-environment-markers:
180+
173181
Environment Markers
174182
-------------------
175183

@@ -294,6 +302,8 @@ The ``implementation_version`` marker variable is derived from
294302
This environment markers section, initially defined through :pep:`508`, supersedes the environment markers
295303
section in :pep:`345`.
296304

305+
.. _dependency-specifiers-grammar:
306+
297307
Complete Grammar
298308
================
299309

0 commit comments

Comments
 (0)