Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.043 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'python': 0.08; 'function?': 0.16; 'mohsen': 0.16; 'subject:function': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'cheers,': 0.20; 'cc:no real name:2**0': 0.21; 'subject:help': 0.21; 'header:In- Reply-To:1': 0.22; 'feb': 0.22; 'received:209.85.212.46': 0.23; 'received:mail-vw0-f46.google.com': 0.23; 'sfxlen:0': 0.23; 'cc:2**0': 0.26; 'all,': 0.27; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'sun,': 0.30; 'chris': 0.30; 'list': 0.32; 'received:209.85.212': 0.33; 'url:python': 0.35; 'entry': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'url:org': 0.39; 'received:209': 0.39; 'full': 0.62; 'dear': 0.63; 'sender:addr:chris': 0.84; 'url:datamodel': 0.84; 'url:reference': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=3LV1SuDkDUoOmKo1TeZaXbTLn1apXb6k37UdndXe7hQ=; b=QVwD4CIx895a0l6VMTxucmzFmeMYiL9VdUwnF61d6LN4hanmB0WOh/DplZ6vMQQi9D webRPXZZKYQU5SdOEy5qWOP6l9YtLf0nG5VSZUhFunh4wMrty8iQHw/NwFdWsyD0X3Av wZRX3HT21Aj+TBTILzCKn2Hi8saMOX90lP7eQ= MIME-Version: 1.0 Sender: chris@rebertia.com In-Reply-To: <1328507282.11367.40.camel@debian> References: <1328507282.11367.40.camel@debian> Date: Sun, 5 Feb 2012 22:00:14 -0800 X-Google-Sender-Auth: S05fe1-z0FT50jLX02wSdr6-zGw Subject: Re: help function and operetors overloading From: Chris Rebert To: Mohsen Pahlevanzadeh Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1328508023 news.xs4all.nl 6928 [2001:888:2000:d::a6]:54325 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19891 On Sun, Feb 5, 2012 at 9:48 PM, Mohsen Pahlevanzadeh wrote: > Dear all, > > You know python has many functions for operators overloading such as > __add__, __radd__, __invert__, __eq__ and so on. > How i see the complete list of them with help function? I don't know if there's a help() entry for them. The docs have a full list of those "special method names": http://docs.python.org/reference/datamodel.html#special-method-names Cheers, Chris