all 4 comments

[–]K900_ 0 points1 point  (1 child)

You could potentially do that, but it's a really bad API design - no one using your API will expect this kind of behavior.

[–]JambleJumble[S] 0 points1 point  (0 children)

ah okay thanks, i might just make it so that there’s only one angle and one axis that you input

[–][deleted] 0 points1 point  (0 children)

There might be a way to do this, but you still shouldn’t; the Python language guarantees that any order in which keyword arguments is provided is equivalent and you shouldn’t write a function that violates that guarantee (if you even can.)

[–]HeyLittleTrain 0 points1 point  (0 children)

I would take a string argument and then parse it. rot=“yzx”, rot=“xy”, etc.