Skip to content

Commit

Permalink
Dependency Specifiers: Require whitespace before in and not in
Browse files Browse the repository at this point in the history
Otherwise `numpy; os_namein 'posix'` would be a valid specifier which it isn't
  • Loading branch information
konstin committed Dec 11, 2022
1 parent 3ab0328 commit 4193e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/specifications/dependency-specifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,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+ 'not' wsp+ 'in')
python_str_c = (wsp | letter | digit | '(' | ')' | '.' | '{' | '}' |
'-' | '_' | '*' | '#' | ':' | ';' | ',' | '/' | '?' |
'[' | ']' | '!' | '~' | '`' | '@' | '$' | '%' | '^' |
Expand Down

0 comments on commit 4193e04

Please sign in to comment.