Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
a4314c2b218fb0509a24c873a22137ff229a01fd
/
Doc
/
library
/
collections.rst
d7d4fd7
builtin -> built-in.
by Georg Brandl
· 15 years ago
a68cad1
Fix field name conflicts for named tuples.
by Raymond Hettinger
· 15 years ago
9b6f13e
Fix-up moving average example.
by Raymond Hettinger
· 15 years ago
50f362f
Note that ordered dictionaries work with reversed().
by Raymond Hettinger
· 15 years ago
f6dab95
Make the doctests in the docs pass, except for those in the turtle module.
by Georg Brandl
· 16 years ago
c4f4697
Fix the count of datatypes.
by Raymond Hettinger
· 16 years ago
c473c5a
Add note on using keyword arguments with OrderedDict.
by Raymond Hettinger
· 16 years ago
6df48a3
Update docs for namedtuple's renaming change.
by Raymond Hettinger
· 16 years ago
6bc94cb
Improve examples for collections.deque()
by Raymond Hettinger
· 16 years ago
2cef1a5
Add MutableSet example.
by Raymond Hettinger
· 16 years ago
2412299
* Add clearer comment to initialization code.
by Raymond Hettinger
· 16 years ago
56411aa
For collections.deque() objects, expose the maxlen parameter as a read-only attribute.
by Raymond Hettinger
· 16 years ago
a07038d
Fix markup.
by Raymond Hettinger
· 16 years ago
88a9164
Backport 70106: Add OrderedDict support to collections.namedtuple().
by Raymond Hettinger
· 16 years ago
bc512d3
Backport PEP 372: OrderedDict()
by Raymond Hettinger
· 16 years ago
a665853
Clarify Counter() docs.
by Raymond Hettinger
· 16 years ago
eb7cbb9
Restore Py2.x version of sample call to super().
by Raymond Hettinger
· 16 years ago
f746a1f
Fix-up intro paragraph for collections docs.
by Raymond Hettinger
· 16 years ago
e4ae63c
Clean-up named tuple docs.
by Raymond Hettinger
· 16 years ago
322daea
Issue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames.
by Raymond Hettinger
· 16 years ago
939a3cc
Tweak the docs for Counter() objects.
by Raymond Hettinger
· 16 years ago
d507afd
Minor doc fixups.
by Raymond Hettinger
· 16 years ago
1712baa
Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods.
by Raymond Hettinger
· 16 years ago
d081abc
Promote combinations_with_replacement() from a recipe to a regular itertool.
by Raymond Hettinger
· 16 years ago
22bfa9e
Tweak column alignment for collections docs.
by Raymond Hettinger
· 16 years ago
2bcb8e9
Promote compress() from a recipe to being a regular itertool.
by Raymond Hettinger
· 16 years ago
7bdca05
More doc tweaks.
by Raymond Hettinger
· 16 years ago
0a1f7b8
Tighten-up the docs for Counter().
by Raymond Hettinger
· 16 years ago
4571f34
Simplify explanation of multiset operations by removing restrictions on negative inputs.
by Raymond Hettinger
· 16 years ago
acdc84a
Beautify and cleanup the references section.
by Raymond Hettinger
· 16 years ago
196a0f7
Fix typos.
by Raymond Hettinger
· 16 years ago
230dd27
Don't disrupt automatic url target name generation
by Raymond Hettinger
· 16 years ago
bad1eb2
Build-outs for Counter() class:
by Raymond Hettinger
· 16 years ago
2950bca
Fix-up indentation of sample code blocks for namedtuple mthod definitions.
by Raymond Hettinger
· 16 years ago
5989412
Minor doc tweaks.
by Raymond Hettinger
· 16 years ago
fbcf749
Add table of idioms/patterns for using Counter objects.
by Raymond Hettinger
· 16 years ago
8278385
Minor documentation tweaks and simpler update() example.
by Raymond Hettinger
· 16 years ago
aaa6e63
Simplify Counter() API. Replace items keyword argument
by Raymond Hettinger
· 16 years ago
f94d7fa
Issue 1696199: Add collections.Counter().
by Raymond Hettinger
· 16 years ago
7044b11
Remove tabs from the documentation.
by Georg Brandl
· 16 years ago
c62ef8b
Remove trailing whitespace.
by Georg Brandl
· 16 years ago
df9bcf1
Fix typo.
by Georg Brandl
· 16 years ago
061d2e2
#4392: fix parameter name.
by Georg Brandl
· 16 years ago
5c4e006
document that deque indexing is O(n) #4123
by Benjamin Peterson
· 16 years ago
b40890d
usage
by Skip Montanaro
· 16 years ago
dbc5987
Add missing ABCs to list.
by Georg Brandl
· 16 years ago
ee51cff
Fix whitespace in example code.
by Raymond Hettinger
· 16 years ago
e98839a
Issue3065: Fixed pickling of named tuples. Added tests.
by Raymond Hettinger
· 16 years ago
96b4240
Fix typo
by Raymond Hettinger
· 16 years ago
5a9fed7
Fix-up the enumerate type example and move it to the end.
by Raymond Hettinger
· 17 years ago
c7b0592
reformat some documentation of classes so methods and attributes are under the class directive
by Benjamin Peterson
· 17 years ago
d289ea6
#2502: add example how to do enum types with named tuples.
by Georg Brandl
· 17 years ago
4c8bbe6
Make collections' doctests executable.
by Georg Brandl
· 17 years ago
907a720
A lot more typo fixes by Ori Avtalion.
by Georg Brandl
· 17 years ago
bc4ffc1
Backport ABC docs
by Raymond Hettinger
· 17 years ago
9bba7b7
Removed an unnecessary and confusing paragraph from the namedtuple docs.
by Raymond Hettinger
· 17 years ago
0fe6ca4
Better variable name in an example.
by Raymond Hettinger
· 17 years ago
171f391
Minor wordsmithing.
by Raymond Hettinger
· 17 years ago
e805782
Fix-up half-written paragraph in the docs
by Raymond Hettinger
· 17 years ago
f59e962
Refactor if/elif chain for clarity and speed. Remove dependency on subclasses having to implement _empty and _full.
by Raymond Hettinger
· 17 years ago
d1ef854
Run doctests on the collections module
by Raymond Hettinger
· 17 years ago
15b5e55
Neaten-up the named tuple docs
by Raymond Hettinger
· 17 years ago
e850c46
Clarify how to add a field to a named tuple.
by Raymond Hettinger
· 17 years ago
e165508
Examples for named tuple subclassing should include __slots__
by Raymond Hettinger
· 17 years ago
dc1854d
Fix typo
by Raymond Hettinger
· 17 years ago
e11230e
Syntax highlighting only works when >>> lines are accompanied by ... lines
by Raymond Hettinger
· 17 years ago
ac5742e
Docs on named tuple's naming conventions and limits of subclassing
by Raymond Hettinger
· 17 years ago
f6b769b
Documentation nits.
by Raymond Hettinger
· 17 years ago
f5e8af1
Use get() instead of pop() for the optimized version of _replace().
by Raymond Hettinger
· 17 years ago
fb3ced6
Minor markup fix
by Raymond Hettinger
· 17 years ago
9a35921
Cleanup named tuple subclassing example.
by Raymond Hettinger
· 17 years ago
b3255ed
Restore "somenamedtuple" as the "class" for named tuple attrs.
by Georg Brandl
· 17 years ago
503f293
Clean up markup.
by Georg Brandl
· 17 years ago
dc55f35
Add another named tuple subclassing example.
by Raymond Hettinger
· 17 years ago
1db6f80
Cleanup subclassing example to more clearly show fixed-width print format.
by Raymond Hettinger
· 17 years ago
b8e0072
Add subclassing example to docs for named tuples.
by Raymond Hettinger
· 17 years ago
1166872
Small code simplification. Forgot that classmethods can be called from intances.
by Raymond Hettinger
· 17 years ago
1b50fd7
Add error-checking to namedtuple's _replace() method.
by Raymond Hettinger
· 17 years ago
02740f7
Improve namedtuple's _cast() method with a docstring, new name, and error-checking.
by Raymond Hettinger
· 17 years ago
e0734e7
Minor fix-ups to named tuples:
by Raymond Hettinger
· 17 years ago
b19be57
Some cleanup in the docs.
by Georg Brandl
· 17 years ago
85dfcf3
Users demand iterable input for named tuples. The author capitulates.
by Raymond Hettinger
· 17 years ago
8777bca
Simplify and speedup _asdict() for named tuples.
by Raymond Hettinger
· 17 years ago
88880b2
Add more namedtuple() test cases. Neaten the code and comments.
by Raymond Hettinger
· 17 years ago
e846f38
Add usage note
by Raymond Hettinger
· 17 years ago
07ae83f
Faster and simpler _replace() method
by Raymond Hettinger
· 17 years ago
48eca67
Add line spacing for readability
by Raymond Hettinger
· 17 years ago
42da874
Cleaner method naming convention
by Raymond Hettinger
· 17 years ago
04a9a0e
Simplify implementation of __replace__()
by Raymond Hettinger
· 17 years ago
8465ae8
Fix signature in example
by Raymond Hettinger
· 17 years ago
bc69349
Add example for use cases requiring default values.
by Raymond Hettinger
· 17 years ago
7c3738e
Example of multiple replacements.
by Raymond Hettinger
· 17 years ago
213ae01
Fixup example in docs.
by Raymond Hettinger
· 17 years ago
5681cbc
Small improvement to the implementation of __replace__().
by Raymond Hettinger
· 17 years ago
eeeb9c4
Accept Issac Morland's suggestion for __replace__ to allow multiple replacements
by Raymond Hettinger
· 17 years ago
abfd8df
More docs, error messages, and tests
by Raymond Hettinger
· 17 years ago
6899586
Accept Jim Jewett's api suggestion to use None instead of -1 to indicate unbounded deques.
by Raymond Hettinger
· 17 years ago
a48a299
Eliminate camelcase function name
by Raymond Hettinger
· 17 years ago
b6893f2
Missed a line in the docs
by Raymond Hettinger
· 17 years ago
2115bbc
Add comments to NamedTuple code.
by Raymond Hettinger
· 17 years ago
Next »