Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9522

Re: Please critique my script

References <77AE044B1BF3944FAE2435F395F11B4B01859CD7@clt-exmb02.bbtnet.com> <mailman.1047.1310711795.1164.python-list@python.org> <2df1dccd-a4ee-4edf-8986-f2afc3422ea3@q15g2000yqk.googlegroups.com>
Date 2011-07-15 17:57 +1000
Subject Re: Please critique my script
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1056.1310716654.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Jul 15, 2011 at 5:19 PM, bruno.desthuilliers@gmail.com
<bruno.desthuilliers@gmail.com> wrote:
>> (It would have been a lot cleaner if Python exposed its operators as
>> functions.
>
> from operator import add

Ah yes, I forgot that module. Yep, that cleans up the code a bit.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Please critique my script Chris Angelico <rosuav@gmail.com> - 2011-07-15 16:36 +1000
  Re: Please critique my script "bruno.desthuilliers@gmail.com" <bruno.desthuilliers@gmail.com> - 2011-07-15 00:19 -0700
    Re: Please critique my script Chris Angelico <rosuav@gmail.com> - 2011-07-15 17:57 +1000

csiph-web