AttributeError: can't add special method to already-subclassed class #16971
Answered
by
peterhinch
pinqwing
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: |
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. |
0 replies
Answer selected by
pinqwing
|
Indeed, it is the first time I used __new__in uP, so I was not aware of difference #3 and its warning. Thanks. |
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.