[New-bugs-announce] [issue26542] Wrongly formatted doctest block in difflib documentation

Dmitry Shachnev report at bugs.python.org
Fri Mar 11 13:20:27 EST 2016


New submission from Dmitry Shachnev:

Look at the documentation of difflib.SequenceMatcher.get_opcodes:
https://docs.python.org/dev/library/difflib.html#difflib.SequenceMatcher.get_opcodes

There, the result part of the example is rendered as plain reStructuredText, separately from the code block itself.
The attached patch fixes it.

----------
assignee: docs at python
components: Documentation
files: doctest.diff
keywords: patch
messages: 261591
nosy: docs at python, mitya57
priority: normal
severity: normal
status: open
title: Wrongly formatted doctest block in difflib documentation
type: enhancement
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file42137/doctest.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26542>
_______________________________________


More information about the New-bugs-announce mailing list