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


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

Re: is_<whatever_you_are_testing_for> as method or property?

Started byDevin Jeanpierre <jeanpierreda@gmail.com>
First post2014-12-11 13:45 -0800
Last post2014-12-11 13:45 -0800
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: is_<whatever_you_are_testing_for> as method or property? Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-12-11 13:45 -0800

#82386 — Re: is_<whatever_you_are_testing_for> as method or property?

FromDevin Jeanpierre <jeanpierreda@gmail.com>
Date2014-12-11 13:45 -0800
SubjectRe: is_<whatever_you_are_testing_for> as method or property?
Message-ID<mailman.16873.1418334377.18130.python-list@python.org>
On Thu, Dec 11, 2014 at 1:33 PM, Ben Finney <ben+python@benfinney.id.au> wrote:
> 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”?

Obviously, yes.

-- Devin

[toc] | [standalone]


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


csiph-web