Skip to content
Discussion options

You must be logged in to vote

It is a different error caused by the fact you are using hello both as attribute and method. You have to rename one of them. For example, call attribute _hello:

    def __init__(self, hello):
        super().__init__()
        self._hello = hello

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kmart
Comment options

@igo95862
Comment options

Answer selected by kmart
@kmart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants