[Tutor] Class learning

Danny Yoo danny.yoo at gmail.com
Fri Jan 23 03:38:45 CET 2015


>     #@property
>     def show(self):
>         ftp="\n".join([str(idx + 1) + "- " + step.__name__  for idx, step
in enumerate(self.steps)])
>

Questions you should be asking yourself:

    What is self.steps?  What type is it?

    In the case where this breaks with an error, what is self.steps then?


More information about the Tutor mailing list