picatrix icon indicating copy to clipboard operation
picatrix copied to clipboard

Detangle the issues with magic arguments

Open kiddinn opened this issue 4 years ago • 2 comments

ATM when you initialize a magic class it has an optional argument of arguments, which is a list of MagicArgument.

If it is not supplied it is ignored and arguments are derived from a docstring.

This could be detangled, and MagicArgument be better defined and used throughout. Also it should not be done in the __init__ function but arguments should be configured after initialization of the object.

kiddinn avatar Nov 12 '20 12:11 kiddinn