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


Groups > comp.lang.python > #107751 > unrolled thread

Re: Pythonic style

Started byChristopher Reimer <christopher_reimer@icloud.com>
First post2016-04-27 21:00 -0700
Last post2016-04-27 21:00 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Pythonic style Christopher Reimer <christopher_reimer@icloud.com> - 2016-04-27 21:00 -0700

#107751 — Re: Pythonic style

FromChristopher Reimer <christopher_reimer@icloud.com>
Date2016-04-27 21:00 -0700
SubjectRe: Pythonic style
Message-ID<mailman.169.1461816053.32212.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web