[issue26542] Wrongly formatted doctest block in difflib documentation

2016-03-11 Thread Berker Peksag

Berker Peksag added the comment:

Good catch, Dmitry. Thanks for the patch!

--
nosy: +berker.peksag
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26542] Wrongly formatted doctest block in difflib documentation

2016-03-11 Thread Roundup Robot

Roundup Robot added the comment:

New changeset ffd0603f5251 by Berker Peksag in branch '3.5':
Issue #26542: Fix markup of code example in difflib documentation
https://hg.python.org/cpython/rev/ffd0603f5251

New changeset 40d92c92eb6e by Berker Peksag in branch 'default':
Issue #26542: Fix markup of code example in difflib documentation
https://hg.python.org/cpython/rev/40d92c92eb6e

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26542] Wrongly formatted doctest block in difflib documentation

2016-03-11 Thread Dmitry Shachnev

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@python
components: Documentation
files: doctest.diff
keywords: patch
messages: 261591
nosy: docs@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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com