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


Groups > comp.lang.python > #20335

Re: how to tell a method is classmethod or static method or instance method

Date 2012-02-13 18:23 +1100
From Cameron Simpson <cs@zip.com.au>
Subject Re: how to tell a method is classmethod or static method or instance method
References <E064CE77-0EB1-4D0B-9A47-E515EA621248@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5755.1329117810.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 13Feb2012 15:59, Zheng Li <dllizheng@gmail.com> wrote:
| how to tell a method is class method or static method or instance method?

Maybe a better question is:
  under what circumstances do you need to figure this out? 

I'm actually quite serious here. Please outline what circumstances cause
you to want to ask and answer this question.

Cheers,
-- 
Cameron Simpson <cs@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Reason #173 to fear technology:

    o       o       o       o       o       o      <o      <o>
   ^|\     ^|^     v|^     v|v     |/v     |X|      \|      |
    /\      >\     /<       >\     /<       >\     /<       >\

    o>      o       o       o       o       o       o       o
    \       x      </      <|>     </>     <\>     <)>      |\
   /<       >\     /<       >\     /<       >\      >>      L

             Mr. email does the Macarena.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: how to tell a method is classmethod or static method or instance method Cameron Simpson <cs@zip.com.au> - 2012-02-13 18:23 +1100

csiph-web