From ac286c1d2fba104d33a489617b7756fe8632eaac Mon Sep 17 00:00:00 2001 From: Kyle Cheng <37385704+kcheng0222@users.noreply.github.com> Date: Wed, 31 Oct 2018 20:17:57 -0700 Subject: [PATCH] Readability (#33128) --- guide/english/python/boolean-operations/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/python/boolean-operations/index.md b/guide/english/python/boolean-operations/index.md index cb7c0fb22d..008344595c 100644 --- a/guide/english/python/boolean-operations/index.md +++ b/guide/english/python/boolean-operations/index.md @@ -17,7 +17,7 @@ not x | if x is false, then True, else False | (3) 1. This is a short-circuit operator, so it only evaluates the second argument if the first one is False. 2. This is a short-circuit operator, so it only evaluates the second argument if the first one is True. -3. not has a lower priority than non-Boolean operators, so not a == b is interpreted as not (a == b), and a == not b is a syntax error. +3. `not` has a lower priority than non-Boolean operators, so `not a == b` is interpreted as `not (a == b)`, and `a == not b` is a syntax error. ## Examples: