[Python-ideas] clear() method for lists

Robert Kern robert.kern at gmail.com
Fri Feb 5 22:16:54 CET 2010


On 2010-02-05 15:09 PM, Raymond Hettinger wrote:
> ISTM, the language moratorium would preclude this change.

"""
Case-by-Case Exemptions

New methods on built-ins
   The case for adding a method to a built-in object can be made.
"""

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-ideas mailing list