python return class

Posted by William P on Stack Overflow See other posts from Stack Overflow or by William P
Published on 2010-06-07T08:40:12Z Indexed on 2010/06/07 8:42 UTC
Read the original article Hit count: 257

Filed under:

Hi

I new to python and I read from someone else of the example code below:

class A:
  def current(self):
    data = Data(a=a,b=b,c=c)
    return data

class B(A):
  #something here
  #print data a b c

How do I print out the data a, b, and c?

© Stack Overflow or respective owner

Related posts about python