Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #107751
| From | Christopher Reimer <christopher_reimer@icloud.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Pythonic style |
| Date | 2016-04-27 21:00 -0700 |
| Message-ID | <mailman.169.1461816053.32212.python-list@python.org> (permalink) |
| References | (2 earlier) <572166FA.3020108@icloud.com> <85y47yjxj5.fsf_-_@benfinney.id.au> <57217E73.9040907@icloud.com> <85twimju18.fsf@benfinney.id.au> <57218AEC.6020302@icloud.com> |
On 4/27/2016 8:23 PM, Ben Finney wrote: > If you want items in a mapping, explicitly use a Python ‘dict’ instance. > If you want attributes that describe an object, explicitly use > attributes of that object. Deliberately choose which one makes more > sense. Okay, that makes sense. Thank you, Chris R.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Pythonic style Christopher Reimer <christopher_reimer@icloud.com> - 2016-04-27 21:00 -0700
csiph-web