Raymond Hettinger
|
e1d665a90e
|
Classes that override __eq__ also need to define __hash__.
|
2010-04-05 18:53:43 +00:00 |
Raymond Hettinger
|
bb006cf26c
|
Add tests for cmp_to_key.
Adopt PEP 8 compliant function name.
Factor-out existing uses cmp_to_key.
Update documentation to use internal pointers instead of external resource.
|
2010-04-04 21:45:01 +00:00 |
Raymond Hettinger
|
a551f31d48
|
Add functools.CmpToKey()
|
2010-04-04 18:34:45 +00:00 |
Brett Cannon
|
83e818415a
|
Copy reduce() to _functools so to have functools.reduce() not raise a warning
from usage under -3.
|
2008-08-09 23:30:55 +00:00 |
Guido van Rossum
|
d51b579c51
|
Patch # 1739906 by Christian Heimes -- add reduce to functools (importing
it from __builtin__).
|
2007-08-27 20:51:00 +00:00 |
Andrew M. Kuchling
|
41eb7164df
|
[Bug #1576241] Let functools.wraps work with built-in functions
|
2006-10-27 16:39:10 +00:00 |
Andrew M. Kuchling
|
efb57072fe
|
Typo fix
|
2006-10-26 19:16:46 +00:00 |
Nick Coghlan
|
676725db92
|
Add functools.update_wrapper() and functools.wraps() as described in PEP 356
|
2006-06-08 13:54:49 +00:00 |
Tim Peters
|
27c70598a8
|
Whitespace normalization.
|
2006-05-30 02:26:46 +00:00 |
Nick Coghlan
|
08490146df
|
When adding a module like functools, it helps to let SVN know about the file.
|
2006-05-29 20:27:44 +00:00 |