We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ce1a82 commit 8bb7fdaCopy full SHA for 8bb7fda
Doc/library/doctest.rst
@@ -696,10 +696,10 @@ special Python comments following an example's source code:
696
697
.. productionlist:: doctest
698
directive: "#" "doctest:" `directive_options`
699
- directive_options: `directive_option` ("," `directive_option`)\*
+ directive_options: `directive_option` ("," `directive_option`)*
700
directive_option: `on_or_off` `directive_option_name`
701
- on_or_off: "+" \| "-"
702
- directive_option_name: "DONT_ACCEPT_BLANKLINE" \| "NORMALIZE_WHITESPACE" \| ...
+ on_or_off: "+" | "-"
+ directive_option_name: "DONT_ACCEPT_BLANKLINE" | "NORMALIZE_WHITESPACE" | ...
703
704
Whitespace is not allowed between the ``+`` or ``-`` and the directive option
705
name. The directive option name can be any of the option flag names explained
0 commit comments