A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/038769.html below:

[Python-Dev] decorate-sort-undecorate

[Python-Dev] decorate-sort-undecorate [Python-Dev] decorate-sort-undecorateRaymond Hettinger raymond.hettinger at verizon.net
Wed Oct 15 14:06:32 EDT 2003
If the discussion is wrapped up, I'm ready to commit the patch:

   www.python.org/sf/823292

Summary:

. Adds keyword arguments:  cmp, key, reverse.
. Stable for any combination of arguments (including reverse).
. If key is not specified, then no wrapper is applied and nothing
  is changed (performance is unchanged).
. If cmp and key are specified, the wrapper is removed and the
  original key is passed to the cmp function (the wrapper is not
  visible to the user).
. Has unittests and docs.  Passes the full test suite and repeated
  runs show stable refcounts.


Raymond Hettinger



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4