Skip to content

Commit

Permalink
Fix a typo (google#227)
Browse files Browse the repository at this point in the history
`not` is not a binary operator and shouldn't be mentioned in their precedence order.
  • Loading branch information
vladmos authored and adonovan committed Jul 16, 2019
1 parent d6561f8 commit 4e09c20
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions doc/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1720,7 +1720,6 @@ Starlark has the following binary operators, arranged in order of increasing pre
```text
or
and
not
== != < > <= >= in not in
|
^
Expand All @@ -1739,7 +1738,6 @@ BinaryExpr = Test {Binop Test} .
Binop = 'or'
| 'and'
| 'not'
| '==' | '!=' | '<' | '>' | '<=' | '>=' | 'in' | 'not' 'in'
| '|'
| '^'
Expand Down

0 comments on commit 4e09c20

Please sign in to comment.