Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use getdoc(object) instead of object.__doc__ to fix indentation problems. | Ka-Ping Yee | 2005-02-19 | 1 | -2/+10 |
| | | | | | | | | | | | Thanks to Robert Dick <dickrp@ece.northwestern.edu> for reporting this bug and submitting a patch. Adjust doc(object) to display useful documentation for plain values (e.g. help([]) now shows the methods on the list instead of just printing "[]"). (This change has been tested interactively, by generating docs for the standard library, and by running the module documentation webserver.) | ||||
* | Replace list of constants with tuples of constants. | Raymond Hettinger | 2005-02-06 | 1 | -9/+9 |
| | |||||
* | Patch #936774: unify the display of data descriptors, including slots, | Johannes Gijsbers | 2005-01-08 | 1 | -37/+27 |
| | | | | | | | | | | | | | | | properties, and custom descriptors. * removed special handling of properties * added special handling of data descriptors - All data descriptors are grouped together in a section. For each item, the attribute name and doc string, if present, is displayed. * disabled display of __slots__ attribute - since slots are descriptors, they are listed in the section described above Thanks to John Belmonte for the patch! | ||||
* | SF patch #1094007: Remove witty comment in pydoc.py | Raymond Hettinger | 2005-01-01 | 1 | -2/+1 |
| | | | | (Removed at Ping's request.) | ||||
* | Back out rev 1.96; see #1009389. | Martin v. Löwis | 2004-11-14 | 1 | -1/+1 |
| | |||||
* | Patch #1061931 / bug #971872: factor out part of spillproperties, so | Johannes Gijsbers | 2004-11-07 | 1 | -30/+55 |
| | | | | | properties are also documented if help(Class.<property>) is called instead of help(Class). | ||||
* | Patch #934356: if a module defines __all__, believe that rather than using | Johannes Gijsbers | 2004-08-30 | 1 | -4/+12 |
| | | | | heuristics for filtering out imported names. | ||||
* | Patch #997284: Allow pydoc to work with XP Themes (.manifest file) | Martin v. Löwis | 2004-08-22 | 1 | -2/+10 |
| | | | | Will backport to 2.3. | ||||
* | Patch #1009389: Make __credits__ a Unicode object. | Martin v. Löwis | 2004-08-22 | 1 | -1/+1 |
| | |||||
* | Use readline/raw_input() in pydoc.Helper.interact if available and self.input | Johannes Gijsbers | 2004-08-17 | 1 | -4/+12 |
| | | | | | is sys.stdin. Based on a patch (#726204) by Dmitry Vasiliev and a comment from Guido in an older patch (#549901). | ||||
* | Change pydoc.stripid() be able to match against 64-bit addresses by having | Brett Cannon | 2004-06-19 | 1 | -1/+1 |
| | | | | regex match from 6 to 16 characters. | ||||
* | pydoc.stripid() is now case-insensitive for its regex to support platforms that | Brett Cannon | 2004-06-19 | 1 | -6/+6 |
| | | | | | | have pointer addresses in uppercase. Closes bug #934282. Thanks Robin Becker. | ||||
* | Respect a module's __all__ attribute. Closes #969938. | Skip Montanaro | 2004-06-11 | 1 | -8/+21 |
| | |||||
* | correct name error caught by Neal Norwitz with pychecker | Skip Montanaro | 2004-06-07 | 1 | -3/+3 |
| | |||||
* | * Move collections.deque() in from the sandbox | Raymond Hettinger | 2004-01-29 | 1 | -4/+5 |
| | | | | | | * Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming | ||||
* | Patch #785689: Use basename in usage. Backported to 2.3. | Martin v. Löwis | 2003-10-31 | 1 | -1/+1 |
| | |||||
* | Let library modules use the new keyword arguments for list.sort(). | Raymond Hettinger | 2003-10-16 | 1 | -1/+1 |
| | |||||
* | display link to module docs when it looks like the object module is a core | Skip Montanaro | 2003-09-10 | 1 | -1/+47 |
| | | | | module | ||||
* | (HTML|Text)Repr.repr1: Guard against objects whos types have no __name__ | Skip Montanaro | 2003-06-27 | 1 | -10/+10 |
| | | | | attribute. Patch and bug report from Geoff Talvola. Closes patch #672855. | ||||
* | Support keyword and topics help in cli(). Fixes #715782. | Martin v. Löwis | 2003-06-14 | 1 | -4/+6 |
| | |||||
* | Have pydoc try handling an object as "other" if the object does not act the way | Brett Cannon | 2003-06-11 | 1 | -3/+10 |
| | | | | | | it expects based on what inspect classifies it as. Closes bug #729103 . | ||||
* | Fix SF bug #735694, Pydoc.py fixes links | Neal Norwitz | 2003-05-26 | 1 | -5/+6 |
| | | | | | Modified the patch some. Fixed invalid link in UNICODE (to STRING). Also updates some references. | ||||
* | Patch #711902: Cause pydoc to show data descriptor __doc__ strings. | Martin v. Löwis | 2003-05-03 | 1 | -2/+2 |
| | |||||
* | SF patch #706338, Fix a few broken links in pydoc by Greg Chapman | Neal Norwitz | 2003-03-30 | 1 | -4/+4 |
| | |||||
* | Hide private names beginning with _ (but don't hide __special__ names). | Ka-Ping Yee | 2003-03-28 | 1 | -54/+77 |
| | | | | | | Clean up section headings; make the bars on the left less fat. Adjust the display of properties slightly. Don't show stuff inherited from the base 'object' type. | ||||
* | Fix SF patch #695581, "returnself" -> "return self" | Neal Norwitz | 2003-03-01 | 1 | -1/+1 |
| | |||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -5/+5 |
| | |||||
* | Fix for SF 686380, from SF patch 686771 by Ping. (errors trying to | Guido van Rossum | 2003-02-16 | 1 | -1/+1 |
| | | | | get help on os attributes) | ||||
* | Fix SF bug #642168, help() fails for some builtin topics | Neal Norwitz | 2003-02-07 | 1 | -2/+2 |
| | | | | | | Fix pydoc when doing help for: and, or, not, UNICODE. Will backport. | ||||
* | SF bug 666444: 'help' makes linefeed only under Win32. | Tim Peters | 2003-02-07 | 1 | -2/+2 |
| | | | | | | Reverting one of those irritating "security fixes". fdopen() opens files in binary mode. That makes pydoc skip the \r\n on Windows that's need to make the output readable in the shell. Screw it. | ||||
* | Gracefully delay runtime error up to 1s. Add .willdispatch(). | Martin v. Löwis | 2002-12-28 | 1 | -0/+1 |
| | |||||
* | Correct erroneous parenthesis placement in the delta from 1.63 to 1.64. | Raymond Hettinger | 2002-11-02 | 1 | -2/+2 |
| | |||||
* | SF bug 630824: pydoc Helper keywords missing 'yield' | Tim Peters | 2002-10-30 | 1 | -0/+1 |
| | | | | | | | Wow, what a brittle subsystem! Fixed, maybe, provided Fred doesn't shuffle the docs around. Bugfix candidate. | ||||
* | Explicitly use floor division | Raymond Hettinger | 2002-10-21 | 1 | -1/+1 |
| | |||||
* | try executing 'less' in a parenthesized subshell - prevents systems like | Skip Montanaro | 2002-09-26 | 1 | -1/+1 |
| | | | | | Solaris from squawking if less isn't available. See http://python.org/sf/612111 for details. | ||||
* | Added the standard MacOSX location for documentation inside a framework | Jack Jansen | 2002-08-23 | 1 | -1/+2 |
| | | | | to the list of places where pydoc looks for HTML documents. | ||||
* | Extend stripid() to handle strings ending in more than one '>'. | Ka-Ping Yee | 2002-08-11 | 1 | -37/+36 |
| | | | | | Add resolve() to handle looking up objects and names (fix SF bug 586931). Add a nicer error message when given a filename that doesn't exist. | ||||
* | Massive changes from SF 589982 (tempfile.py rewrite, by Zack | Guido van Rossum | 2002-08-09 | 1 | -4/+4 |
| | | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones. | ||||
* | Add a coding cookie, because of the møøse quote. | Guido van Rossum | 2002-08-06 | 1 | -0/+1 |
| | |||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -4/+4 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -13/+13 |
| | |||||
* | In both spilldata() functions, pretend that the docstring for | Guido van Rossum | 2002-05-21 | 1 | -2/+8 |
| | | | | | non-callable objects is always None. This makes for less confusing output and fixes the problem reported in SF patch #550290. | ||||
* | Partial introduction of bools where appropriate. | Guido van Rossum | 2002-04-07 | 1 | -4/+5 |
| | |||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 1 | -1/+2 |
| | |||||
* | Quote href properly. | Neil Schemenauer | 2002-03-24 | 1 | -1/+2 |
| | |||||
* | Remove unnecessary \b. It was causing the RE to miss the tailing | Neil Schemenauer | 2002-03-24 | 1 | -1/+1 |
| | | | | slash on strings like "http://www.python.org/ is good". | ||||
* | add repr_str as alias for repr_string in both HTMLRepr and TextRepr classes | Skip Montanaro | 2002-03-07 | 1 | -0/+4 |
| | | | | | - reflects the change in type("").__name__ between 2.1 and 2.2. The __name__ field is used to find a method to call for particular types. | ||||
* | OS/2 more program behaves like Win32 more | Andrew MacIntyre | 2002-03-03 | 1 | -1/+1 |
| | | | | (see patch #514490, by Stefan Schwarzer) | ||||
* | SF patch #474485: pydoc generates some bad html, from Rich Salz. | Tim Peters | 2001-10-31 | 1 | -5/+5 |
| | |||||
* | SF bug [#472347] pydoc and properties. | Tim Peters | 2001-10-18 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | The GUI-mode code to display properties blew up if the property functions (get, set, etc) weren't simply methods (or functions). "The problem" here is really that the generic document() method dispatches to one of .doc{routine, class, module, other}(), but all of those require a different(!) number of arguments. Thus document isn't general-purpose at all: you have to know exactly what kind of thing is it you're going to document first, in order to pass the correct number of arguments to .document for it to pass on. As an expedient hack, just tacked "*ignored" on to the end of the formal argument lists for the .docXXX routines so that .document's caller doesn't have to know in advance which path .document is going to take. |