From fc1f15dcb74e4ac808205b366bbced8a0a88b569 Mon Sep 17 00:00:00 2001 From: George Zhang Date: Sun, 31 Oct 2021 11:37:11 -0400 Subject: [PATCH] Remove backslashes in doctest grammar docs --- Doc/library/doctest.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index 0bbb640bea26b1..e4b4ccc5acd7ed 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst @@ -706,10 +706,10 @@ special Python comments following an example's source code: .. productionlist:: doctest directive: "#" "doctest:" `directive_options` - directive_options: `directive_option` ("," `directive_option`)\* + directive_options: `directive_option` ("," `directive_option`)* directive_option: `on_or_off` `directive_option_name` - on_or_off: "+" \| "-" - directive_option_name: "DONT_ACCEPT_BLANKLINE" \| "NORMALIZE_WHITESPACE" \| ... + on_or_off: "+" | "-" + directive_option_name: "DONT_ACCEPT_BLANKLINE" | "NORMALIZE_WHITESPACE" | ... Whitespace is not allowed between the ``+`` or ``-`` and the directive option name. The directive option name can be any of the option flag names explained