Skip to content

Commit

Permalink
Merge pull request #1181 from konstin/dependency-specifiers-grammar-f…
Browse files Browse the repository at this point in the history
…ixes

Dependency specifiers grammar fixes
  • Loading branch information
chrysle committed Jun 26, 2024
2 parents 81b2abb + 85240af commit 9fea6ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/specifications/dependency-specifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ URI is defined in :rfc:`std-66 <3986>`)::
Environment markers allow making a specification only take effect in some
environments::

marker_op = version_cmp | (wsp* 'in') | (wsp* 'not' wsp+ 'in')
marker_op = version_cmp | (wsp+ 'in' wsp+) | (wsp+ 'not' wsp+ 'in' wsp+)
python_str_c = (wsp | letter | digit | '(' | ')' | '.' | '{' | '}' |
'-' | '_' | '*' | '#' | ':' | ';' | ',' | '/' | '?' |
'[' | ']' | '!' | '~' | '`' | '@' | '$' | '%' | '^' |
Expand Down Expand Up @@ -116,7 +116,7 @@ Giving us a rule for name based requirements::

And a rule for direct reference specifications::

url_req = name wsp* extras? wsp* urlspec wsp+ quoted_marker?
url_req = name wsp* extras? wsp* urlspec (wsp+ quoted_marker?)?

Leading to the unified rule that can specify a dependency.::

Expand Down

0 comments on commit 9fea6ca

Please sign in to comment.