R. David Murray added the comment:

I agree.  The normal python convention is that an immutable object returns the 
new value when an operation "changes" it, while a mutable object returns None.  
It seems like replace and rename should follow this convention (and that it 
would also be convenient).

nosy: +r.david.murray

Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list

Reply via email to