summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some reloading problems (still more work needed).Ka-Ping Yee2001-03-271-6/+16
| | | | | Add hyperlinks to PEPs at http://www.python.org/peps/pep-%04d.html Remove script directory (dirname of sys.argv[0]) from sys.path.
* Browser compatibility fixes.Ka-Ping Yee2001-03-231-7/+8
| | | | Show methods aliased into a class from other classes.
* Small formatting improvements.Ka-Ping Yee2001-03-231-10/+13
|
* Show inherited methods, with hyperlinks to the base class they came from.Ka-Ping Yee2001-03-231-112/+168
| | | | | | | | | | | Font adjustment to improve viewing in Windows (the default monospaced font, Courier New, seems to have no reasonable size in IE!) Improve error handling. Try very hard to distinguish between failure to find a module and failure during the module importing process. Improve reloading behaviour. (Still needs some work.) Add '.' to sys.path when running as a script at the command-line. Don't automatically assume '-g' based on the platform. We'll just have the batch file supply -g.
* Fixes for various issues reported and discovered since Python 9:Ka-Ping Yee2001-03-231-224/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor description of import errors into DocImportError.__str__. Add "docother" and "fail" methods to Doc class. Factor formatting of constants into "docother". Increase max string repr limit to 100 characters. Factor page generation into HTMLDoc.page. Handle aliasing of names (objects appearing under an attribute name different from their intrinsic __name__) by passing the attribute name into each doc* method. Handle methods at top level of modules (e.g. in random). Try to do reloading efficiently. Important fixes still to do: Module reloading is broken by the unfortunate property that failed imports leave an incomplete module in sys. Still need to think of a good solution. Can't document modules in the current directory, due to the other unfortunate property that sys.path gets '.' when you run 'python' but it gets the script directory when you run a script. Need to ponder to find a solution. The synopsis() routine does not work on .so modules. Aliases cause duplicate copies of documentation to appear. This is easy to fix, just more work. Classes appear as their intrinsic name, not their attribute name, in the class hierarchy. This should be fixed. Inherited methods should be listed in class descriptions.
* Whitespace normalization.Tim Peters2001-03-161-3/+1
|
* Use '127.0.0.1' only on Mac; for other, sane platforms, use 'localhost'.Ka-Ping Yee2001-03-021-2/+3
|
* The sys.platform identifier for Windows is just 'win32' (for all varieties).Ka-Ping Yee2001-03-021-8/+8
|
* Believe it or not, but "more" on Windows requires "more <file" ratherGuido van Rossum2001-03-021-1/+1
| | | | | | than "more file". Since tempfilepager() is only used on Windows, it seems, do this unconditionally -- on Unix, it always invokes something else.
* Clean up the handling of getsourcefile/getabsfile.Ka-Ping Yee2001-03-021-23/+37
| | | | | Remove __main__ from the index of built-in modules. Miscellaneous compatibility fixes.
* Use imp.get_suffixes to determine a module name in modulename(file).Ka-Ping Yee2001-03-021-7/+25
| | | | When possible, display strings containing backslashes using r'' notation.
* Also accept .so as an extension for module files.Ka-Ping Yee2001-03-011-8/+4
|
* Docstring improvements.Ka-Ping Yee2001-03-011-196/+395
| | | | | | | | | | | | | Add checks for .pyo and .pyd. Collapse docfunction, docmethod, docbuiltin into the one method docroutine. Small formatting fixes. Link the segments of a package path in the title. Link to the source file only if it exists. Allow modules (e.g. repr.py) to take precedence over built-ins (e.g. repr()). Add interruptible synopsis scanner (so we can do searches in the background). Make HTTP server quit. Add small GUI for controlling the server and launching searches (like -k). (Tested on Win2k, Win98, and Linux.)
* Normalize case of paths in sys.path to avoid duplicates on Windows.Ka-Ping Yee2001-03-011-14/+24
| | | | | | Handle <... at 001B6378> like <... at 0x120f80> (%p is platform-dependent). Fix RCS version tag handling. Move __main__ behaviour into a function, pydoc.cli().
* Whitespace normalization.Tim Peters2001-02-281-2/+2
|
* Macintosh compatibility.Ka-Ping Yee2001-02-271-1/+1
|
* Acknowledgements.Ka-Ping Yee2001-02-271-2/+3
|
* Fix $Revision$ processing so it doesn't get eaten by CVS!Ka-Ping Yee2001-02-271-2/+2
|
* Add $Revision: $ tag.Ka-Ping Yee2001-02-271-1/+1
|
* Add display of $Revision $ and credits.Ka-Ping Yee2001-02-271-10/+33
|
* pydoc: text and HTML documentation generator for interactive useKa-Ping Yee2001-02-271-0/+1158