summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18010: Fix pydoc GUI search to handle package exceptionsMartin Panter2015-11-071-1/+4
|
* Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.Serhiy Storchaka2015-04-211-1/+1
|
* Issue #21548: Fix pydoc.synopsis() and pydoc.apropos() on modules with emptyBerker Peksag2015-02-201-2/+2
| | | | | | docstrings. Initial patch by Yuyang Guo.
* Issue #22314: pydoc now works when the LINES environment variable is set.Serhiy Storchaka2014-11-271-1/+7
|
* Issue #18905: "pydoc -p 0" now outputs actually used port. Based on patch bySerhiy Storchaka2014-11-271-3/+5
| | | | Wieland Hoffmann.
* Move Doc/tools/sphinxext content to Doc/tools, there is no need for the ↵Georg Brandl2014-09-301-1/+1
| | | | nested subdirectory anymore.
* make sure the builtin help function doesn't fail when sys.stdin is not a ↵Benjamin Peterson2014-06-081-0/+2
| | | | | | valid file (closes #11709) Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
* don't remove self from example code in the HTML output (closes #13223)Benjamin Peterson2014-06-071-2/+7
| | | | Patch by Víctor Terrón.
* #1065986: add missing error handler in pydoc unicode fix.R David Murray2014-01-051-1/+3
|
* #1065986: Make pydoc handle unicode strings.R David Murray2014-01-051-14/+44
| | | | Patch by Akira Kitada.
* #14638: pydoc now treats non-str __name__ as None instead of raisingR David Murray2012-04-231-1/+2
| | | | Original patch by Peter Otten.
* #14434: make tutorial link in 'help' banner version-specificR David Murray2012-03-311-2/+2
| | | | | | | Without this fix, both 2.7 and 3.x would always point to the "current" docs...which means that before this fix python 3.2 'help' pointed to the 2.7 tutorial, and without this fix when we switch over to the 3.x docs being current, 2.7 would have pointed to the python3 tutorial.
* Issue #1785: Fix inspect and pydoc with misbehaving descriptors.Antoine Pitrou2011-12-211-5/+24
| | | | Also fixes issue #13581: `help(type)` wouldn't display anything.
* Issue #7425: Prevent pydoc -k failures due to module import errors.Ned Deily2011-10-061-5/+6
| | | | (Backport to 2.7 of existing 3.x fix)
* Make “pydoc somebuiltin.somemethod” work (#8887)Éric Araujo2011-07-291-6/+7
|
* Fix closes Issue11439 - Handle the SVN Keywords in 2.7 by replacing them ↵Senthil Kumaran2011-07-281-1/+1
| | | | with a high number so that code relying on them does not break.
* - Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.Charles-François Natali2011-07-271-2/+2
|
* Close #12182: Fix pydoc.HTMLDoc.multicolumn() if Python uses the new (true)Victor Stinner2011-05-261-2/+2
| | | | division (python -Qnew). Patch written by Ralf W. Grosse-Kunstleve.
* Issue #11666: Teach pydoc to display full help for named tuplesRaymond Hettinger2011-03-251-9/+12
|
* Merged revisions ↵Georg Brandl2011-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86881,86887,86913-86915,86933,86943,86960,86964,86974,86980,86996,87008 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86881 | georg.brandl | 2010-11-30 08:43:28 +0100 (Di, 30 Nov 2010) | 1 line #10584: fix bad links. ........ r86887 | georg.brandl | 2010-11-30 15:57:54 +0100 (Di, 30 Nov 2010) | 1 line Fix typo. ........ r86913 | georg.brandl | 2010-12-01 16:32:43 +0100 (Mi, 01 Dez 2010) | 1 line Add missing word, and add a better reference to the actual function. ........ r86914 | georg.brandl | 2010-12-01 16:36:33 +0100 (Mi, 01 Dez 2010) | 1 line #10594: fix parameter names in PyList API docs. ........ r86915 | georg.brandl | 2010-12-01 16:44:25 +0100 (Mi, 01 Dez 2010) | 1 line Fix some markup and style in the unittest docs. ........ r86933 | georg.brandl | 2010-12-02 19:02:01 +0100 (Do, 02 Dez 2010) | 1 line #10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented. ........ r86943 | georg.brandl | 2010-12-02 23:35:25 +0100 (Do, 02 Dez 2010) | 1 line Re-add accidentally removed line. ........ r86960 | georg.brandl | 2010-12-03 08:55:44 +0100 (Fr, 03 Dez 2010) | 1 line #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does. ........ r86964 | georg.brandl | 2010-12-03 10:58:38 +0100 (Fr, 03 Dez 2010) | 1 line #10549: fix interface of docclass() for text documenter. ........ r86974 | georg.brandl | 2010-12-03 16:30:09 +0100 (Fr, 03 Dez 2010) | 1 line Markup consistency fixes. ........ r86980 | georg.brandl | 2010-12-03 18:19:27 +0100 (Fr, 03 Dez 2010) | 1 line Fix punctuation. ........ r86996 | georg.brandl | 2010-12-03 20:56:42 +0100 (Fr, 03 Dez 2010) | 1 line Fix indentation. ........ r87008 | georg.brandl | 2010-12-04 10:04:04 +0100 (Sa, 04 Dez 2010) | 1 line Fix typo. ........
* Merged revisions 82547 via svnmerge fromAlexander Belopolsky2011-01-111-2/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82547 | alexander.belopolsky | 2010-07-04 13:00:20 -0400 (Sun, 04 Jul 2010) | 3 lines Issue #9118: help(None) will now return NoneType doc instead of starting interactive help. ........
* Merged revisions 84173 via svnmerge fromSenthil Kumaran2010-08-181-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84173 | senthil.kumaran | 2010-08-19 01:02:21 +0530 (Thu, 19 Aug 2010) | 3 lines Fix Issue672656 - Securing pydoc server. ........
* Merged revisions 83370,83372-83374,83384 via svnmerge fromGeorg Brandl2010-08-011-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83370 | georg.brandl | 2010-07-31 23:51:48 +0200 (Sa, 31 Jul 2010) | 5 lines #8198: the Helper class should not save the stdin and stdout objects at import time, rather by default use the current streams like the other APIs that output help. ........ r83372 | georg.brandl | 2010-08-01 00:05:54 +0200 (So, 01 Aug 2010) | 1 line #4007: remove *.a and *.so.X.Y files in "make clean". ........ r83373 | georg.brandl | 2010-08-01 00:11:11 +0200 (So, 01 Aug 2010) | 1 line #5147: revert accidental indentation of header constant for MozillaCookieJar. ........ r83374 | georg.brandl | 2010-08-01 00:32:52 +0200 (So, 01 Aug 2010) | 1 line #5146: handle UID THREAD command correctly. ........ r83384 | georg.brandl | 2010-08-01 08:32:55 +0200 (So, 01 Aug 2010) | 1 line Build properties using lambdas. This makes test_pyclbr pass again, because it does not think that input and output are methods anymore. ........
* In a number of places code still reversRonald Oussoren2010-05-051-5/+1
| | | | | | | | | to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk.
* Fix a test_pydoc failure on Neal Norwitz's buildbot.Brian Curtin2010-04-011-1/+1
|
* Correct what was intended to be a single-tuple to just be a != check.Brian Curtin2010-03-311-1/+1
| | | | Thanks to Éric Araujo for noticing that.
* Fix #8225. xml.etree was displaying an incorrect link when viewed in help.Brian Curtin2010-03-311-1/+2
|
* #7930: fix stripidEzio Melotti2010-02-161-3/+1
|
* Issue #7328: don't corrupt sys.path when running pydoc with the -m switchNick Coghlan2009-11-151-5/+7
|
* Fix issue 5230 by having pydoc's safeimport check to see if the importR. David Murray2009-06-231-3/+4
| | | | | error was thrown from itself in order to decide if the module can't be found. Thanks to Lucas Prado Melo for collaborating on the fix and tests.
* fix issue #6121 by stripping spaces from the argument in the 'help'R. David Murray2009-05-271-0/+1
| | | | function.
* Move pydoc_topics module to its own subdirectory, so that no generated code ↵Georg Brandl2009-04-261-5/+5
| | | | is in Lib/.
* #5698: Fix casing of !DOCTYPE to conform to W3C specs.Georg Brandl2009-04-101-1/+1
|
* Patch #4739 by David Laban: add symbols to pydoc help topics,Georg Brandl2008-12-271-2/+55
| | | | so that ``help('@')`` works as expected.
* #3707: fix inf. recursion in pydoc topic search. Rev'd by Antoine.Georg Brandl2008-08-301-3/+3
|
* Silence SyntaxWarning and DeprecationWarning in pydoc triggered by tupleBrett Cannon2008-08-031-10/+15
| | | | unpacking in parameter lists and using callable(). Found through -3.
* #3045: fix pydoc behavior for TEMP path with spaces.Georg Brandl2008-07-161-2/+2
|
* Issue 3190: pydoc now hides module __package__ attributesNick Coghlan2008-07-021-2/+3
|
* Generate pydoc's topic help from the reST docs via Sphinx'Georg Brandl2008-06-011-136/+125
| | | | new text writer.
* Revert the renaming of repr to reprlib.Brett Cannon2008-05-231-1/+1
|
* Tkinter rename reversal: remove tkinter package, adapt imports and docs.Georg Brandl2008-05-201-16/+16
|
* Tkinter rename, step 2: fix imports and add stub modules.Georg Brandl2008-05-161-16/+16
|
* Changed references to the reprlib module to use its new name.Alexandre Vassalotti2008-05-161-1/+1
|
* #2133: fix HTML color spec.Georg Brandl2008-02-171-1/+1
|
* Update PEP URL.Andrew M. Kuchling2008-02-051-1/+1
| | | | | | | (This code is duplicated between pydoc and DocXMLRPCServer; maybe it should be refactored as a GHOP project.) 2.5.2 backport candidate.
* Remove effectless expression statement.Georg Brandl2008-01-271-1/+0
|
* #1715: include sub-extension modules in pydoc text output.Georg Brandl2008-01-211-1/+13
|
* Adapt pydoc to new doc URLs.Georg Brandl2008-01-211-7/+6
|
* Check in the patch proposed by Ben Hayden (benjhayden) for issueKa-Ping Yee2008-01-131-3/+5
| | | | | | | | | #1550: help('modules') broken by several 3rd party libraries. Tested with Python build: trunk:54235:59936M -- the reported error occurs with Django installed (or with any __init__.py present on the path that raises an exception), and such errors indeed go away when this change is applied.
* Patch #1194449: correctly detect unbound methods in pydoc.Georg Brandl2007-03-131-2/+2
|