Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:edu.au': 0.07; 'subject:method': 0.09; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'out?': 0.16; 'received:202.125.174': 0.16; 'received:202.125.174.133': 0.16; 'received:boardofstudies.nsw.edu.au': 0.16; 'received:cskk.homeip.net': 0.16; 'received:harvey.boardofstudies.nsw.edu.au': 0.16; 'received:homeip.net': 0.16; 'received:nsw.edu.au': 0.16; 'subject: \n ': 0.16; 'subject:instance': 0.16; 'cc:addr:python- list': 0.16; 'question.': 0.16; 'wrote:': 0.18; 'instance': 0.18; 'cheers,': 0.20; 'maybe': 0.21; 'header:In-Reply-To:1': 0.22; 'static': 0.24; 'cc:2**0': 0.26; 'figure': 0.26; "i'm": 0.28; 'class': 0.29; 'cc:addr:python.org': 0.29; 'quite': 0.31; 'actually': 0.31; 'does': 0.32; 'header:User-Agent:1': 0.33; 'received:au': 0.36; 'question': 0.36; 'charset:us-ascii': 0.37; 'subject:how': 0.39; 'here.': 0.64; 'received:202': 0.66; 'cause': 0.67; 'cameron': 0.77; 'serious': 0.78; 'mr.': 0.85; 'subject:tell': 0.91 Date: Mon, 13 Feb 2012 18:23:39 +1100 From: Cameron Simpson To: Zheng Li Subject: Re: how to tell a method is classmethod or static method or instance method MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1329117810 news.xs4all.nl 6983 [2001:888:2000:d::a6]:34148 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20335 On 13Feb2012 15:59, Zheng Li 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 DoD#743 http://www.cskk.ezoshosting.com/cs/ Reason #173 to fear technology: 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.