>     #@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?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to