classification
Title: code example in C API docsshould be highlighted
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.4, Python 3.3, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: Ramchandra Apte, chris.jerdonek, docs@python, ezio.melotti, kushal.das, python-dev
Priority: normal Keywords: patch

Created on 2013-02-20 14:45 by Ramchandra Apte, last changed 2013-02-22 05:55 by ezio.melotti. This issue is now closed.

Files
File name Uploaded Description Edit
issue17256.patch kushal.das, 2013-02-22 05:28 patch to fix syntax highlighting review
Messages (6)
msg182515 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2013-02-20 14:45
in http://docs.python.org/2/extending/embedding.html#linking-requirements
 the code example isn't highlighted
msg182516 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2013-02-20 14:47
Also in the section above: http://docs.python.org/2/extending/embedding.html#extending-embedded-python , the two code examples should be highlighted.
msg182544 - (view) Author: Chris Jerdonek (chris.jerdonek) * (Python committer) Date: 2013-02-20 19:29
Looks like it's because highlightlang:: c is at the top.
msg182631 - (view) Author: Kushal Das (kushal.das) * (Python committer) Date: 2013-02-22 05:28
Following patch solves the problem.
msg182637 - (view) Author: Roundup Robot (python-dev) Date: 2013-02-22 05:53
New changeset ad55dc7de7fc by Ezio Melotti in branch '2.7':
#17256: fix syntax highlight in embedding example.  Patch by Kushal Das.
http://hg.python.org/cpython/rev/ad55dc7de7fc

New changeset b42e7aeb4235 by Ezio Melotti in branch '3.2':
#17256: fix syntax highlight in embedding example.  Patch by Kushal Das.
http://hg.python.org/cpython/rev/b42e7aeb4235

New changeset 3405d828ce95 by Ezio Melotti in branch '3.3':
#17256: merge with 3.2.
http://hg.python.org/cpython/rev/3405d828ce95

New changeset fb50eb64e097 by Ezio Melotti in branch 'default':
#17256: merge with 3.3.
http://hg.python.org/cpython/rev/fb50eb64e097
msg182639 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-02-22 05:55
Fixed, thanks for the patch!
History
Date User Action Args
2013-02-22 05:55:04ezio.melottisetstatus: open -> closed
versions: + Python 3.2, Python 3.3, Python 3.4
messages: + msg182639

assignee: docs@python -> ezio.melotti
resolution: fixed
stage: needs patch -> resolved
2013-02-22 05:53:38python-devsetnosy: + python-dev
messages: + msg182637
2013-02-22 05:28:27kushal.dassetfiles: + issue17256.patch

nosy: + kushal.das
messages: + msg182631

keywords: + patch
2013-02-20 19:29:54ezio.melottisetnosy: + ezio.melotti

type: enhancement
stage: needs patch
2013-02-20 19:29:08chris.jerdoneksetnosy: + chris.jerdonek
messages: + msg182544
2013-02-20 14:47:40Ramchandra Aptesettitle: code example should be highlighted -> code example in C API docsshould be highlighted
2013-02-20 14:47:23Ramchandra Aptesetmessages: + msg182516
2013-02-20 14:45:37Ramchandra Aptesetversions: + Python 2.7
2013-02-20 14:45:30Ramchandra Aptecreate