Sphinx issue in What's New in Python 3.3 doc
Hi, In the first example of the "PEP 409: Suppressing exception context" section, I read "from None...". http://docs.python.org/dev/whatsnew/3.3.html#pep-409-suppressing-exception-c... It's confusing because I don't remember what was the last choice for the PEP: None or ... :-) The reST "code" looks correct in Doc/whatsnew/3.3.rst: ... raise AttributeError(attr) from None ... Victor
On 26.08.2012 22:16, Victor Stinner wrote:
Hi,
In the first example of the "PEP 409: Suppressing exception context" section, I read "from None...". http://docs.python.org/dev/whatsnew/3.3.html#pep-409-suppressing-exception-c...
It's confusing because I don't remember what was the last choice for the PEP: None or ... :-)
The reST "code" looks correct in Doc/whatsnew/3.3.rst:
... raise AttributeError(attr) from None ...
Hi Victor, this is fixed in the latest Pygments, and will be fine in the doc once I update its version used for building. Until then, you could disable syntax highlighting on that particular code block. Georg
participants (2)
-
Georg Brandl
-
Victor Stinner