Timeline for Python NameError: name is not defined - method not found
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 25, 2018 at 11:05 | comment | added | Sijan Bhandari |
You need to call with self.check_index...
|
|
| Jun 25, 2018 at 11:01 | answer | added | Alan haha | timeline score: 0 | |
| Jun 25, 2018 at 11:01 | answer | added | Aankhen | timeline score: 0 | |
| Jun 25, 2018 at 10:55 | comment | added | JL_SO | I tried it with check_error(self,key) - that didn't work either. | |
| Jun 25, 2018 at 10:55 | answer | added | Rakesh | timeline score: 1 | |
| Jun 25, 2018 at 10:53 | comment | added | Sijan Bhandari |
In your class implementation, each method is instance method. Why there is no self parameter in your `check_index(self, key).
|
|
| Jun 25, 2018 at 10:51 | history | asked | JL_SO | CC BY-SA 4.0 |