Skip to content

Commit 4193e04

Browse files
committed
Dependency Specifiers: Require whitespace before in and not in
Otherwise `numpy; os_namein 'posix'` would be a valid specifier which it isn't
1 parent 3ab0328 commit 4193e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/specifications/dependency-specifiers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ URI is defined in :rfc:`std-66 <3986>`)::
7070
Environment markers allow making a specification only take effect in some
7171
environments::
7272

73-
marker_op = version_cmp | (wsp* 'in') | (wsp* 'not' wsp+ 'in')
73+
marker_op = version_cmp | (wsp+ 'in') | (wsp+ 'not' wsp+ 'in')
7474
python_str_c = (wsp | letter | digit | '(' | ')' | '.' | '{' | '}' |
7575
'-' | '_' | '*' | '#' | ':' | ';' | ',' | '/' | '?' |
7676
'[' | ']' | '!' | '~' | '`' | '@' | '$' | '%' | '^' |

0 commit comments

Comments
 (0)