summaryrefslogtreecommitdiff
path: root/docs/users_guide/exts/negative_literals.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/exts/negative_literals.rst')
-rw-r--r--docs/users_guide/exts/negative_literals.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/users_guide/exts/negative_literals.rst b/docs/users_guide/exts/negative_literals.rst
index 74fcc87a21..237fabf044 100644
--- a/docs/users_guide/exts/negative_literals.rst
+++ b/docs/users_guide/exts/negative_literals.rst
@@ -27,5 +27,6 @@ as two tokens.
One pitfall is that with :extension:`NegativeLiterals`, ``x-1`` will
be parsed as ``x`` applied to the argument ``-1``, which is usually
not what you want. ``x - 1`` or even ``x- 1`` can be used instead
-for subtraction.
+for subtraction. To avoid this, consider using :extension:`LexicalNegation`
+instead.