Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82385 > unrolled thread
| Started by | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| First post | 2014-12-12 08:33 +1100 |
| Last post | 2014-12-12 08:33 +1100 |
| 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.
Re: is_<whatever_you_are_testing_for> as method or property? Ben Finney <ben+python@benfinney.id.au> - 2014-12-12 08:33 +1100
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2014-12-12 08:33 +1100 |
| Subject | Re: is_<whatever_you_are_testing_for> as method or property? |
| Message-ID | <mailman.16872.1418333714.18130.python-list@python.org> |
Chris Angelico <rosuav@gmail.com> writes: > A property should be used if what you're creating is "virtually an > attribute". Methods are attributes. Are you distinguishing here between “callable attribute” versus “non-callable attribute”? -- \ “Repetition leads to boredom, boredom to horrifying mistakes, | `\ horrifying mistakes to God-I-wish-I-was-still-bored, and it | _o__) goes downhill from there.” —Will Larson, 2008-11-04 | Ben Finney
Back to top | Article view | comp.lang.python
csiph-web