Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46430
| References | <CAGVx7UWXAFHSHq37Ep-Vk=cM2wYrEGHSUhNc8s43bCvj_VcVow@mail.gmail.com> <CAGGBd_oT=vqvPGZy+d1H=XHjdPCmYUxJMXAwii7WH845xrYybQ@mail.gmail.com> |
|---|---|
| Date | 2013-05-30 13:59 +1000 |
| Subject | Re: How clean/elegant is Python's syntax? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2394.1369886352.3114.python-list@python.org> (permalink) |
On Thu, May 30, 2013 at 10:24 AM, Dan Stromberg <drsalists@gmail.com> wrote: > I'm finding it kind of hard to imagine not finding Python's syntax and > semantics pretty graceful. > > About the only thing I don't like is: > > var = 1, > > That binds var to a tuple (singleton) value, instead of 1. I agree, and would write it as: var = (1,) for clarity. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: How clean/elegant is Python's syntax? Chris Angelico <rosuav@gmail.com> - 2013-05-30 13:59 +1000
csiph-web