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


Groups > comp.lang.python > #35831

father class name

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.134.4.91.MISMATCH!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <contropinion@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'typeerror:': 0.09; 'def': 0.10; 'to:name:python-list': 0.15; '&quot;i': 0.16; 'here"': 0.16; 'here&quot;': 0.16; 'output?': 0.16; 'subject:class': 0.16; '>>>': 0.18; 'parameters': 0.20; '"",': 0.22; '&gt;&gt;&gt;': 0.22; '(most': 0.27; 'message-id:@mail.gmail.com': 0.27; 'skip:& 10': 0.29; 'class': 0.29; 'file': 0.32; 'print': 0.32; 'received:74.125.82': 0.33; 'traceback': 0.33; 'to:addr:python- list': 0.33; 'skip:& 20': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'received:74.125': 0.36; 'why': 0.37; 'to:addr:python.org': 0.39; 'takes': 0.39; 'header:Received:5': 0.40; 'here': 0.65
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LstEoJ6puIvnt55L52np3jdEU+6854sGfDHdWjjtNgA=; b=q/feMEsxfln52ipSQTzysvpi/LCEO3OHe1l2WQqIRUfYLABMKIKkMGtP4op/RHy60X NPIJ+GI9gpM9U/L4V+nu2RTxNNeO79+bP9MrX1av0DeIwmWYMIsY578HBhDiBXAA90At MCwtrW5EZSIjoSJuh1j1E6BWlHey3UVKH3JSaSmqeDzWUmIMe+5bBKdVXNCodJNM1o66 FNHvcrnToUaWBCPqi7UGNdmDq0sBXlvS/AltfKIznObkX8OWR5B/SiKq8yu9XtjXEeua UcVLqU7mZJZNL89ZTs+YZ80jLt+U5V0If9UapS6kgSGE3GtfPVrZG6NDz99+DN8as1pQ 4eKg==
MIME-Version 1.0
Date Mon, 31 Dec 2012 12:18:48 +0800
Subject father class name
From contro opinion <contropinion@gmail.com>
To python-list <python-list@python.org>
Content-Type multipart/alternative; boundary=089e0149331a53ca3c04d21e4fd8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1483.1356927535.29569.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1356927535 news.xs4all.nl 6881 [2001:888:2000:d::a6]:44324
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35831

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

here is my haha  class
class  haha(object):
  def  theprint(self):
    print "i am here"

>>> haha().theprint()
i am here
>>> haha(object).theprint()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: object.__new__() takes no parameters

why   haha(object).theprint()  get wrong output?

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


Thread

father class name contro opinion <contropinion@gmail.com> - 2012-12-31 12:18 +0800
  Re: father class name Roy Smith <roy@panix.com> - 2012-12-30 23:27 -0500
  Re: father class name 88888 Dihedral <dihedral88888@googlemail.com> - 2013-01-01 00:37 -0800
  Re: father class name 88888 Dihedral <dihedral88888@googlemail.com> - 2013-01-01 00:37 -0800

csiph-web