Commit Graph

1369 Commits

Author SHA1 Message Date
Vinay Sajip 4780c9a0e0 Tidied up name of parameter in StreamHandler 2009-09-26 14:53:32 +00:00
Ezio Melotti 9aac2455ab #7000: document "sep" in capwords. Add a few tests 2009-09-26 11:20:53 +00:00
Benjamin Peterson afdbe3d661 comment out ugly xxx 2009-09-26 02:57:59 +00:00
Ezio Melotti 2fd3592e70 improved phrasing, markup and example 2009-09-23 21:36:39 +00:00
Benjamin Peterson ca66cb5ce0 fix typos/rephrase 2009-09-22 22:15:28 +00:00
Brett Cannon 2f75572f44 Fix a minor doc syntax typo. 2009-09-22 20:04:24 +00:00
Vinay Sajip f778bec8ed Fixed a typo, and added sections on optimization and using arbitrary objects as messages. 2009-09-22 17:23:41 +00:00
Georg Brandl ac87077b37 Fix encoding name. 2009-09-22 10:55:08 +00:00
Doug Hellmann 1d18b5b929 Fix markup for external links. 2009-09-20 20:44:13 +00:00
Ronald Oussoren 9f20d9d0ee Issue 6877: this patch makes it possible to link the readline extension
to the libedit emulation of the readline API on OSX 10.5 or later.

This also adds a minimal testsuite for readline to check that the
history manipuation functions have the same interface with both
C libraries.
2009-09-20 14:18:15 +00:00
Georg Brandl f4da666880 Fix references to threading.enumerate(). 2009-09-19 12:04:16 +00:00
Georg Brandl 592c58d356 #6946: fix duplicate index entries for datetime classes. 2009-09-19 10:42:34 +00:00
Georg Brandl 54967d994a #6925: rewrite docs for locals() and vars() a bit. 2009-09-18 21:21:41 +00:00
Benjamin Peterson 332d721750 add keyword arguments support to str/unicode encode and decode #6300 2009-09-18 21:14:55 +00:00
Georg Brandl b926ebb896 Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles. 2009-09-17 17:14:04 +00:00
Georg Brandl 7842a41f5c Remove duplicate doc of enable/disable_interspersed_args. 2009-09-17 16:26:06 +00:00
Georg Brandl 304d3966ee #6932: remove paragraph that advises relying on __del__ being called. 2009-09-17 16:15:53 +00:00
Georg Brandl bc3777d85e String values should be shown with quotes, to avoid confusion with constants. 2009-09-17 10:23:02 +00:00
Benjamin Peterson fd1fcffced pep 8 defaults 2009-09-17 03:18:28 +00:00
Georg Brandl a50d20a5b1 Rewrap long lines. 2009-09-16 15:57:46 +00:00
Georg Brandl 718b221e06 #6892: fix optparse example involving help option. 2009-09-16 13:11:06 +00:00
Georg Brandl d7226ffe0b Remove strange trailing commas. 2009-09-16 13:06:22 +00:00
Georg Brandl b29709adc8 #6876: fix base class constructor invocation in example. 2009-09-16 09:24:57 +00:00
Ezio Melotti 038f38d3ac #6917 - typo in method name 2009-09-15 18:41:43 +00:00
Georg Brandl 58d23fbb6c #6908: fix association of hashlib hash attributes. 2009-09-14 14:50:47 +00:00
Georg Brandl 7eb43b7c70 #6574: list the future features in a table. 2009-09-14 14:08:54 +00:00
Michael Foord dc0460a309 Remove an extraneous space in unittest documentation. 2009-09-13 19:08:18 +00:00
Michael Foord e91ea56b30 Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568. 2009-09-13 19:07:03 +00:00
Georg Brandl 6848d82a7c Typo fix. 2009-09-13 18:15:07 +00:00
Michael Foord 668be589ef Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712. 2009-09-13 16:46:19 +00:00
Michael Foord c3f79373e8 Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. 2009-09-13 16:40:02 +00:00
Lars Gustäbel 21121e64b4 Issue #6856: Add a filter keyword argument to TarFile.add().
The filter argument must be a function that takes a TarInfo
object argument, changes it and returns it again. If the
function returns None the TarInfo object will be excluded
from the archive.
The exclude argument is deprecated from now on, because it
does something similar but is not as flexible.
2009-09-12 10:28:15 +00:00
Georg Brandl ffdde9e959 Properly document copy and deepcopy as functions. 2009-09-09 16:49:13 +00:00
Georg Brandl f01697014f #6843: add link from filterwarnings to where the meaning of the arguments is covered. 2009-09-05 16:47:17 +00:00
Georg Brandl 609910c210 #6841: remove duplicated word. 2009-09-05 09:04:09 +00:00
Georg Brandl 601ee7f847 #6756: add some info about the "acct" parameter. 2009-09-04 11:25:37 +00:00
Georg Brandl af795e5eea #6757: complete the list of types that marshal can serialize. 2009-09-03 12:31:39 +00:00
Georg Brandl 8514b85edc #6638: fix wrong parameter name and markup a class. 2009-09-01 08:06:03 +00:00
Georg Brandl 86158fc4c7 #6810: add a link to the section about frame objects instead of just a description where to find it. 2009-09-01 08:00:47 +00:00
Georg Brandl 018ad1c949 #6765: hint that log(x, base) is not very sophisticated. 2009-09-01 07:53:37 +00:00
Georg Brandl 254c17c758 #6813: better documentation for numberless string formats. 2009-09-01 07:40:54 +00:00
Senthil Kumaran 90161375c6 Doc fix for the issue2637. 2009-08-31 16:40:27 +00:00
Georg Brandl 4ea46a6614 other -> others where multiple arguments are accepted. 2009-08-31 06:38:29 +00:00
Georg Brandl 7d65fbfed4 #6801: fix copy-paste oversight. 2009-08-30 11:51:53 +00:00
Georg Brandl 6f8b99e868 #6803: fix old name. 2009-08-30 08:35:01 +00:00
Tarek Ziadé 3092ed977f fixed #6801: symmetric_difference_update also accepts pipe 2009-08-29 13:33:21 +00:00
Kristján Valur Jónsson e2a77980b6 issue 6275
Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package.  This allows further tests on the exception that was raised after the context manager exits.
2009-08-27 22:20:21 +00:00
Georg Brandl e746daa2cb #6787: reference fix. 2009-08-27 19:02:43 +00:00
Georg Brandl 185bd22564 Typo fix. 2009-08-27 18:59:02 +00:00
R. David Murray e7ba742efa Remove leftover text from end of sentence. 2009-08-27 01:04:59 +00:00