On May 11, 7:22 am, [EMAIL PROTECTED] wrote:
> Class A inherits from class B.  Can anyone point me in the direction
> of documentation saying how to initialize an object of A, a1, with an
> object of B, b1?

This is called a 'factory'in design patterns. Search 'python factory',
you will get a lot of examples.

br, Terry
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to