AttributeError: can't add special method to already-subclassed class #16971
Answered
by
peterhinch
WimWWimW
asked this question in
Using MicroPython
-
I am getting this error in microPython (not in cPython) and I don't have a clue:
The offending line is:
|
Beta Was this translation helpful? Give feedback.
Answered by
peterhinch
Mar 21, 2025
Replies: 2 comments
-
I don't know the answer, but you might get some clues from differences to cPython. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WimWWimW
-
Indeed, it is the first time I used __new__in uP, so I was not aware of difference #3 and its warning. Thanks. |
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
I don't know the answer, but you might get some clues from differences to cPython.