Steve Menard wrote:
> So my question is, how to replicate new.instance() functionality with new
> classes?

class A(object):
  def __init__(self):
    print "Class A"
A()
A.__new__(A) # <- this one

Regards,
Jordan

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to