On Fri, 21 Jun 2013 23:49:51 +0100, MRAB wrote:

> On 21/06/2013 21:44, Rick Johnson wrote:
[...]
>> Which in Python would be the "MutableArgumentWarning".
>>
>> *school-bell*
>>
> I notice that you've omitted any mention of how you'd know that the
> argument was mutable.

That's easy. Just call ismutable(arg). The implementation of ismutable is 
just an implementation detail, somebody else can work that out. A 
language designer of the sheer genius of Rick can hardly be expected to 
worry himself about such trivial details.



-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to