From 474de9e4c37cedccc604f540259a43eed0abfc9f Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Wed, 4 Apr 2018 10:51:03 -0700 Subject: [PATCH] Fix a typo in the mangling documentation --- docs/language/syntax.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/language/syntax.rst b/docs/language/syntax.rst index a50063e..fa1e7b6 100644 --- a/docs/language/syntax.rst +++ b/docs/language/syntax.rst @@ -99,7 +99,7 @@ Python-legal names. The rules are: - Convert all hyphens (``-``) to underscores (``_``). Thus, ``foo-bar`` becomes ``foo_bar``. -- If the name ends with ``?``, remove it and prepend ``is``. Thus, ``tasty?`` +- If the name ends with ``?``, remove it and prepend ``is_``. Thus, ``tasty?`` becomes ``is_tasty``. - If the name still isn't Python-legal, make the following changes. A name could be Python-illegal because it contains a character that's never legal in