Georg Brandl
0c2430beda
Copy over docs on advanced role features from Sphinx docs.
2009-01-26 21:29:38 +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
Tarek Ziadé
1af3b5a9a4
Issue #4863 , removing remaining bits
2009-01-25 19:29:10 +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
Andrew M. Kuchling
466bd9d3af
Add various items
2009-01-24 03:28:18 +00:00
Jesse Noller
403c6632e6
Issue 4593: apply() documentation is unclear
2009-01-22 21:53:22 +00:00
Georg Brandl
40e8415509
Clarify wording.
2009-01-22 18:29:28 +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
Andrew M. Kuchling
9cb4277c60
Add some items
2009-01-21 02:15:43 +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
fe11f4d524
#4986 : augassigns are not expressions.
2009-01-18 18:25:30 +00:00
Georg Brandl
af9a97b245
#4923 : clarify what was added.
2009-01-18 14:41:52 +00:00
Georg Brandl
4a565cc41d
#4857 : fix augmented assignment target spec.
2009-01-18 13:47:26 +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
Benjamin Peterson
b746448f46
fix grammar
2009-01-18 01:28:46 +00:00
Benjamin Peterson
f1a4069481
bytearrays are mutable sequences
2009-01-18 01:28:09 +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
Georg Brandl
dd958e0d28
Fix call signature and markup.
2009-01-13 08:11:07 +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
Raymond Hettinger
aaa6e630f8
Simplify Counter() API. Replace items keyword argument
...
with a mapping. Makes Counter() idempotent, makes update()
API the same as Counter.__init__(), makes a more readable
repr, makes the API more dict-like, and allows Steven
Bethard's update() example to work.
2009-01-13 01:05:03 +00:00
Raymond Hettinger
f94d7fa5fb
Issue 1696199: Add collections.Counter().
2009-01-12 22:58:41 +00:00
Vinay Sajip
99234c5c74
Minor changes/corrections in markup.
2009-01-12 20:36:18 +00:00
Benjamin Peterson
51a37034db
add email addresses
2009-01-11 19:48:15 +00:00
Gregory P. Smith
987735c4ec
Update the documentation for binascii and zlib crc32/adler32 functions
...
to better describe the signed vs unsigned return value behavior on
different platforms and versions of python. Mention the workaround to
make them all return the same thing by using & 0xffffffff.
Fixes issue4903.
Also needs to be merged into release26-maint, release30-maint, & py3k.
2009-01-11 17:57:54 +00:00
Gregory P. Smith
26f8d1bbe2
correct email address
2009-01-11 17:53:33 +00:00
Benjamin Peterson
5ed4f6cfb9
macos 9 isn't supported
2009-01-10 23:49:08 +00:00
Benjamin Peterson
4db53b212c
move seealso to a more appropiate place
2009-01-10 23:41:59 +00:00
Vinay Sajip
c2211adcc1
Corrected minor typo and added .currentmodule directives to fix missing cross-references.
2009-01-10 19:22:57 +00:00