Commit graph

991 commits

Author SHA1 Message Date
Eric Smith
81fe09344c Implement issue #4285, convert sys.version_info to a named
tuple. Patch by Ross Light.
2009-02-06 00:48:26 +00:00
Georg Brandl
ecd2afa452 #5031: fix Thread.daemon property docs. 2009-02-05 11:40:35 +00:00
Georg Brandl
2b0dd8e199 #4820: use correct module for ctypes.util. 2009-02-05 11:35:28 +00:00
Georg Brandl
253a29fa4d #4827: fix callback example. 2009-02-05 11:33:21 +00:00
Georg Brandl
b21c75beab #5059: fix example. 2009-02-05 10:59:28 +00:00
Georg Brandl
174fbe7742 #5153: fix typo in example. 2009-02-05 10:30:57 +00:00
Raymond Hettinger
939a3cc5a2 Tweak the docs for Counter() objects. 2009-02-04 11:31:30 +00:00
Raymond Hettinger
8184f5a46c Doc fixes. Remove overbroad, redundant warnings. Fixup example code. 2009-02-04 11:14:18 +00:00
Raymond Hettinger
d507afdc81 Minor doc fixups. 2009-02-04 10:52:32 +00:00
Raymond Hettinger
4a1b62a555 Record operator deprecations in docs. 2009-02-03 03:18:14 +00:00
Gregory P. Smith
86cc5029dc wording for for issue4903. 2009-02-01 00:24:21 +00:00
Gregory P. Smith
5501d65590 Update doc wording as suggested in issue4903. 2009-02-01 00:16:01 +00:00
Benjamin Peterson
4829136965 fix indentation 2009-01-31 20:01:48 +00:00
Andrew M. Kuchling
8c2f85c43e Text edits and markup fixes 2009-01-31 03:26:02 +00:00
Brett Cannon
8aa2c6ce8e Minor spelling mistake in datetime docs. 2009-01-29 00:54:32 +00:00
Raymond Hettinger
1712baa852 Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods. 2009-01-28 23:58:16 +00:00
Guilherme Polo
cda93aafde Added the ttk module. See issue #2983: Ttk support for Tkinter. 2009-01-28 13:09:03 +00:00
Raymond Hettinger
d081abc8be Promote combinations_with_replacement() from a recipe to a regular itertool. 2009-01-27 02:58:49 +00:00
Raymond Hettinger
22bfa9e3e8 Tweak column alignment for collections docs. 2009-01-27 02:36:33 +00:00
Brett Cannon
93881c6c58 Backport importlib in the form of providing importlib.import_module(). This has
been done purely to help transitions from 2.7 to 3.1.
2009-01-26 01:16:50 +00:00
Raymond Hettinger
68d919e4d6 Improved itertools recipe for generating powerset(). 2009-01-25 21:31:47 +00:00
Raymond Hettinger
2bcb8e9b0d Promote compress() from a recipe to being a regular itertool. 2009-01-25 21:04:14 +00:00
Jesse Noller
b5a4b0abed Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels 2009-01-25 03:36:13 +00:00
Jesse Noller
403c6632e6 Issue 4593: apply() documentation is unclear 2009-01-22 21:53:22 +00:00
Raymond Hettinger
7bdca05a3b More doc tweaks. 2009-01-22 05:20:47 +00:00
Raymond Hettinger
0a1f7b8f72 Tighten-up the docs for Counter(). 2009-01-21 23:12:51 +00:00
Raymond Hettinger
4571f347f9 Simplify explanation of multiset operations by removing restrictions on negative inputs. 2009-01-21 20:31:50 +00:00
Andrew M. Kuchling
42ffbdb903 Markup fixes 2009-01-21 02:16:26 +00:00
Raymond Hettinger
acdc84abcf Beautify and cleanup the references section. 2009-01-20 23:42:54 +00:00
Raymond Hettinger
196a0f7a8a Fix typos. 2009-01-20 12:59:36 +00:00
Raymond Hettinger
230dd27628 Don't disrupt automatic url target name generation
with manually specified, conflicting names.

Before:
    http://docs.python.org/dev/library/collections.html#id1

After:
    http://docs.python.org/dev/library/collections.html#counter-objects
2009-01-20 07:11:47 +00:00
Raymond Hettinger
bad1eb2ff3 Build-outs for Counter() class:
* Constructor and update() support keyword args (like their dict counterparts).
* The 'del' statement no longer raises KeyError for missing values.
* Add multiset operations:  __add__, __sub__, __and__, __or__.
2009-01-20 01:19:26 +00:00
Benjamin Peterson
c84ebe73a7 add email address 2009-01-19 16:18:27 +00:00
Benjamin Peterson
b6c7beb722 move BufferedIOBase into the base class section 2009-01-19 16:17:54 +00:00
Vinay Sajip
4b78233cbd Added more cross-reference targets and tidied up list of useful handlers. 2009-01-19 06:49:19 +00:00
Georg Brandl
af9a97b245 #4923: clarify what was added. 2009-01-18 14:41:52 +00:00
Georg Brandl
9f7fb849df #4979: correct result range for some random functions. 2009-01-18 13:24:10 +00:00
Georg Brandl
bb550c99cb #4914: trunc is in math. 2009-01-18 10:48:16 +00:00
Georg Brandl
79f722da6c #4974: fix redundant mention of lists and tuples. 2009-01-18 10:45:22 +00:00
Georg Brandl
6c81b54cc4 #4976: union() and intersection() take multiple args, but talk about "the other". 2009-01-18 10:42:35 +00:00
Jesse Noller
6ab22154dd Resolve issue 4449: AssertionError in mp_benchmarks.py 2009-01-18 02:45:38 +00:00
Thomas Heller
757d25526a Change an example in the docs to avoid a mistake when the code is copy
pasted and changed afterwards.
2009-01-16 18:53:44 +00:00
Vinay Sajip
b1a15e489a Minor changes/corrections in markup. 2009-01-15 23:04:47 +00:00
Vinay Sajip
b5902e6054 Made minor changes/corrections in markup. Added a couple of section headings. 2009-01-15 22:48:13 +00:00
Raymond Hettinger
2950bca89c Fix-up indentation of sample code blocks for namedtuple mthod definitions. 2009-01-14 01:39:51 +00:00
Raymond Hettinger
59894127e4 Minor doc tweaks. 2009-01-14 00:15:21 +00:00
Andrew M. Kuchling
847c43a22d Note that first coord. is left alone 2009-01-13 13:40:54 +00:00
Raymond Hettinger
fbcf749479 Add table of idioms/patterns for using Counter objects.
Improve the appearance and flow of the References section -- it used
to have a box around it that wasn't distinct from the preceding code
boxes and it had a weird bolding pattern and hanging indents that
made the section disproportionately large.
2009-01-13 08:38:14 +00:00
Raymond Hettinger
8278385a05 Minor documentation tweaks and simpler update() example. 2009-01-13 03:49:43 +00:00
Benjamin Peterson
5a0c864045 small logic correction 2009-01-13 01:49:10 +00:00