summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* - Added a "parser" option to testfile() and DocFileTest().Edward Loper2004-09-271-1/+10
|
* - Fixed typo in multi-line exception exampleEdward Loper2004-09-271-6/+6
| | | | - Fixed indentation for a verbatim block
* Give a saner example for script_from_examples(); also mention an intendedTim Peters2004-09-261-11/+25
| | | | but not entirely obvious use case.
* Made most module references "clickable".Tim Peters2004-09-261-71/+70
|
* Docs for run_docstring_examples().Tim Peters2004-09-261-0/+30
|
* Added a lot of new stuff to the debugging section.Tim Peters2004-09-261-29/+159
|
* register_optionflag(): Moved from the Debugging section to the sectionTim Peters2004-09-261-12/+19
| | | | on option flags; added a versionadded decoration.
* Document set_unittest_reportflags().Tim Peters2004-09-261-2/+59
|
* Fix double word error.Raymond Hettinger2004-09-251-1/+1
|
* Assorted minor changes, plus a lot more soap.Tim Peters2004-09-251-33/+39
|
* Explain the motivation for the unittest functions, and beef up theTim Peters2004-09-251-51/+49
| | | | example. Squash repeated argument descriptions. Minor rewordings.
* Repaired mistakes in the descriptions of testmod()/testfile(), andTim Peters2004-09-251-45/+16
| | | | squashed massive duplication of common argument descriptions.
* Since the doctest warnings section was reduced to one bullet point,Tim Peters2004-09-251-10/+6
| | | | get rid of the itemize structure.
* In the "doctest warnings" section, removed obsolete info, and noted thatTim Peters2004-09-251-32/+16
| | | | ELLIPSIS can be used to deal with examples that embed object addresses.
* Beef up the section on testfile(), giving a complete example inTim Peters2004-09-251-22/+48
| | | | | | reStructuredText format. Remove words describing the return value of testmod() and testfile() in the intro sections, since it's never useful in such simple cases.
* Typo.Tim Peters2004-09-251-1/+1
|
* Since the LaTeX isn't doctest'ed, examples are always wrong <wink>.Tim Peters2004-09-251-17/+21
|
* Added log() function documentationVinay Sajip2004-09-241-0/+5
|
* Granted Noam Raphael's request for minor improvements to the re module andRaymond Hettinger2004-09-241-6/+12
| | | | | | | | | | | | | | its documentation. * Documented that the compiled re methods are supposed to be more full featured than their simpilified function counterparts. * Documented the existing start and stop position arguments for the findall() and finditer() methods of compiled regular expression objects. * Added an optional flags argument to the re.findall() and re.finditer() functions. This aligns their API with that for re.search() and re.match().
* Improve three recipes in the itertools docs.Raymond Hettinger2004-09-231-4/+10
|
* Added getLoggerClass()Vinay Sajip2004-09-221-0/+13
|
* - Updated docs to reflect changes in 2.4.Edward Loper2004-09-211-245/+1001
| | | | | | | | | | | | - Reorganized the documentation - Shifted focus a little more towards "literate testing" - Documented new functions and classes: - testfile() - Example, DocTest - DocTestParser, DocTestFinder, DocTestRunner, OutputChecker - DocFileSuite - DebugRunner, DocTestFailure, UnexpectedException - register_optionflag()
* - Updated example output to match actual outputEdward Loper2004-09-191-18/+47
| | | | | | | - Minor wording changes - Changed the docs to reflect the fact that multiple option directives can be specified on a single line (and updated the directive production list, as well).
* Update Template/PEP 292 documentation to current implementation.Barry Warsaw2004-09-181-37/+70
|
* Patch #1025790: Add status code constants to httplib.Martin v. Löwis2004-09-181-10/+162
|
* SF #1027105: HardwareRandom should be renamed OSRandomRaymond Hettinger2004-09-131-5/+7
| | | | | | Renamed the new generator at Trevor's recommendation. The name HardwareRandom suggested a bit more than it delivered (no radioactive decay detectors or such).
* Document testmod's new exclude_empty argument.Tim Peters2004-09-131-3/+11
|
* HtmlDiff corrections from Dan Gass, + trimmed trailing whitespace.Tim Peters2004-09-121-29/+32
|
* Patch #1022152: add required 'domain' argument to gettext.translation() ↵Johannes Gijsbers2004-09-111-3/+3
| | | | examples.
* Patch #1026384: fix two common typo's:Johannes Gijsbers2004-09-114-6/+6
| | | | | | | - accomodate -> accommodate - occured -> occurred Thanks George Yoshida!
* Patch #1025800: remove TeX quoting from verbatim section. Thanks Dima Dorfman!Johannes Gijsbers2004-09-111-2/+2
|
* Typo fix: 'comparisions' is not a wordAndrew M. Kuchling2004-09-102-2/+2
|
* document the exceptions raised by sgmllib, htmllib, and HTMLParserFred Drake2004-09-103-6/+34
|
* fix typo in markupFred Drake2004-09-101-1/+1
|
* SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald2004-09-071-11/+16
| | | | | | | | | | | decoding incomplete input (when the input stream is temporarily exhausted). codecs.StreamReader now implements buffering, which enables proper readline support for the UTF-16 decoders. codecs.StreamReader.read() has a new argument chars which specifies the number of characters to return. codecs.StreamReader.readline() and codecs.StreamReader.readlines() have a new argument keepends. Trailing "\n"s will be stripped from the lines if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and PyUnicode_DecodeUTF16Stateful.
* Fix erroneous docstring comment.Raymond Hettinger2004-09-061-2/+3
|
* Markup nits.Raymond Hettinger2004-09-061-4/+6
|
* Add missing close parenthesis.Raymond Hettinger2004-09-061-3/+3
|
* SF bug #901654: split method documentation can be improvedRaymond Hettinger2004-09-061-2/+16
| | | | | | | * Discuss the algorithmic distinctions between s.split() and s.split(sep). * Document the split behavior for empty strings. * Note the behavior when maxsplit is zero. * Include short examples.
* Rework some wording.Brett Cannon2004-09-051-1/+1
|
* SF bug #1020540: a wrong link from "frame object" in lib indexRaymond Hettinger2004-09-041-3/+4
|
* Added IGNORE_EXCEPTION_DETAIL comparison option. The need is explainedTim Peters2004-09-041-0/+32
| | | | | | | | in the new docs. DocTestRunner.__run: Separate the determination of the example outcome from reporting that outcome, to squash brittle code duplication and excessive nesting.
* Applying modified version of patch #1018386, which fixesGustavo Niemeyer2004-09-031-1/+2
| | | | some escaping bugs in SRE.
* Make the api of the _dispatch() method more concrete. I have no idea ifSkip Montanaro2004-09-031-2/+7
| | | | | | this is the right way to document such things (Fred, help me out here :-), but I got misled by the existing documentation and assumed the parameter list was a *args sort of thing.
* Remove rotor referenceAndrew M. Kuchling2004-08-311-1/+1
|
* Remove docs for xreadlines, mpz, rotorAndrew M. Kuchling2004-08-314-288/+0
|
* Remove xreadlines referenceAndrew M. Kuchling2004-08-311-1/+1
|
* Remove TERMIOS docsAndrew M. Kuchling2004-08-311-21/+0
|
* Use correct constant; remove reference to TERMIOS.pyAndrew M. Kuchling2004-08-311-4/+2
|
* Updated doc for getLogger()Vinay Sajip2004-08-311-1/+4
|