Replies: 2 comments
-
class myclass:
count = 0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
ok a very chicken error, thank you |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
declaring a class in this manner
class myclass:
def init(self):
self.count=0
brings to
WARNING: type object 'myclass' has no attribute 'count'
Beta Was this translation helpful? Give feedback.
All reactions