F
F
FloppaPelmeni2021-10-09 21:17:18
Python
FloppaPelmeni, 2021-10-09 21:17:18

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

3 answer(s)
S
soremix, 2021-10-09
@FloppaPelmeni

Is it your class? When declaring a method, the create_roletransfer of the selffirst parameter was lost

E
Evervess, 2014-11-26
@Evervess

A png is superimposed on top with a frame and transparency, no?

T
Taras Kuznyetsov, 2014-11-26
@tkuznyetsoff

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 question

Ask a Question

731 491 924 answers to any question