[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-21 Thread Charles-François Natali
Charles-François Natali added the comment: Berker, I've committed your patch, thanks! -- nosy: +neologix ___ Python tracker ___ ___ Py

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-19 Thread Berker Peksag
Berker Peksag added the comment: > I guess the tests --without-doc-strings are broken: > http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/6900/steps/test/logs/stdio Attached patch fixes these failures. -- nosy: +berker.peksag versions: +Python 3.5 -Python 3.2,

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-17 Thread Stefan Krah
Stefan Krah added the comment: I guess the tests --without-doc-strings are broken: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/6900/steps/test/logs/stdio -- nosy: +skrah ___ Python tracker

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7aa72075d440 by Benjamin Peterson in branch '3.4': don't remove self from example code in the HTML output (closes #13223) http://hg.python.org/cpython/rev/7aa72075d440 New changeset e89c39125892 by Benjamin Peterson in branch '2.7': don't remove sel

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-07 Thread Skyler Leigh Amador
Skyler Leigh Amador added the comment: The patch still applies cleanly, so I've just updated the comment. test passes, make patchcheck passes. -- nosy: +shiinee Added file: http://bugs.python.org/file35525/pydoc-self.patch ___ Python tracker

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2012-11-18 Thread Ezio Melotti
Ezio Melotti added the comment: Víctor, can you address my comment on rietveld? -- versions: +Python 3.4 ___ Python tracker ___ ___ Py

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-11-29 Thread Éric Araujo
Éric Araujo added the comment: Patch looks good to me. Ezio, do you have time to review too? (I had forgotten that there were tests checking the exact HTML output. This won’t be fun when we overhaul pydoc to make it generate sensible HTML.) -- nosy: +eric.araujo stage: test needed -

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-11-28 Thread vterron
Changes by vterron : Added file: http://bugs.python.org/file23802/issue13223_python2.7.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-11-28 Thread vterron
vterron added the comment: Patch updated with the test cases. I have added a third class to Lib/test/pydoc_mod.py and updated two of the existing cases, test_text_doc and test_html_doc, accordingly. The news entry could be: "Issue #13223: Fix pydoc.writedoc so that the HTML documentation for

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-11-28 Thread vterron
Changes by vterron : Removed file: http://bugs.python.org/file23477/issue13223.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-10-19 Thread Víctor Terrón
Víctor Terrón added the comment: FWIU, only the name of the method, getAnswer, would be a HTML link in the "self.getAnswer()" line that pydoc should generate, while strong (highlighted) text would be used for instance attributes. I have written a patch for that, by checking for "self." matche

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-10-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list ma

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-10-19 Thread Cameron Hayne
New submission from Cameron Hayne : If the docstring for a method has example code that uses 'self', the 'self' will not appear in the HTML generated by pydoc.writedoc Example: #- def getAnswer(self): """ Return the answer. Example of use: answ