diff options
author | Georg Brandl <georg@python.org> | 2007-08-15 19:06:04 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-08-15 19:06:04 (GMT) |
commit | bf863b17f0f67453fe07c4eb57cbede1ee0f6d3f (patch) | |
tree | d92dbf71aa544a8d728906de64be9bf5b46e9be0 /Doc/library/codeop.rst | |
parent | 7f758c49fa9a20df696c0447b14dd4fb75e83662 (diff) | |
download | cpython-bf863b17f0f67453fe07c4eb57cbede1ee0f6d3f.zip cpython-bf863b17f0f67453fe07c4eb57cbede1ee0f6d3f.tar.gz cpython-bf863b17f0f67453fe07c4eb57cbede1ee0f6d3f.tar.bz2 |
Replace "Caveat" paragraphs by .. warning::s.
Diffstat (limited to 'Doc/library/codeop.rst')
-rw-r--r-- | Doc/library/codeop.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Doc/library/codeop.rst b/Doc/library/codeop.rst index 8a730ec..419e873 100644 --- a/Doc/library/codeop.rst +++ b/Doc/library/codeop.rst @@ -46,11 +46,13 @@ To do just the former: (``'single'``, the default) or as an expression (``'eval'``). Any other value will cause :exc:`ValueError` to be raised. - **Caveat:** It is possible (but not likely) that the parser stops parsing with a - successful outcome before reaching the end of the source; in this case, trailing - symbols may be ignored instead of causing an error. For example, a backslash - followed by two newlines may be followed by arbitrary garbage. This will be - fixed once the API for the parser is better. + .. warning:: + + It is possible (but not likely) that the parser stops parsing with a + successful outcome before reaching the end of the source; in this case, + trailing symbols may be ignored instead of causing an error. For example, + a backslash followed by two newlines may be followed by arbitrary garbage. + This will be fixed once the API for the parser is better. .. class:: Compile() |