On 2005-09-01, Ron Adam <[EMAIL PROTECTED]> wrote: > As for functions without '()'s. (Just a thought) You could use '<<' or > '<<<' (or other symbol) as a way to move data between objects. > > ui.write <<< 'Hello World/n' # ui.write('Hello World/n') > > ui.writeln <<< counter # ui.writeln(counter.next()) > > ok = ui.input <<< 'press a key:' # ok = ui.input('press a key:') > > The requirement could be that the item on the left is a callable, and > the item on the right is a sequence or generator. >
Please don't abuse symbols. Perl's ways of symbols all the way without intuitive meaning is bad. Use descriptive methods and functions please. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com