Jonas Byström <highfest...@gmail.com> 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 <rep...@bugs.python.org>
<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