Jonas Byström <[email protected]> added the comment:

I would like something like a regexp-replace of

def[ \t]*__idiv__\((.*?)\)

into

def __floordiv__(\1): self.__truediv__(<arg[-1:] goes here>)
def __truediv__(\1)

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6831>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to