Answer the question
In order to leave comments, you need to log in
Why does python say that I gave it 2 arguments but I only gave one?
I don't understand why Python says that I gave 2 arguments
error:
TypeError: create_role() takes 1 positional argument but 2 were given
await sev.create_role('bob')
Answer the question
In order to leave comments, you need to log in
Is it your class? When declaring a method, the create_role
transfer of the self
first parameter was lost
www.w3schools.com/cssref/playit.asp?filename=playc...
try 170deg
jsfiddle.net/test1n/s363eusq/5
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question