On Nov 25, 5:03 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: > > > BUT you now can do > > > >>> p = print > > > >>> p("f") > > All right. Let's talk about that. > > > When I write "print", it is both effortless and instantaneous : my > > hands do not move, a wave goes through my fingers, it all happens in a > > tenth of a second. > > > Contrast this with what one has to go through to catch the SHIFT key ... > > You could say: > > class Printer: > def __isub__(self, x): print(x) > p = Printer() > > Then > > p-= "foo" > > doesn't need use of the shift key. Use of -= instead of - gets rid > of operator precedence issues.
Please don't forget the smileyes when you make such ludicrous suggestions; if anyone takes them seriously you could be cursed to maintain his code ;-) -- http://mail.python.org/mailman/listinfo/python-list