How do you find what are the options to pass as a parameter? For example, say a method has a parameter called "color", how do you find out which colors you can pass to it? How do I find a list of correct colors? In python I'll print out help() and pass a class and get the list of defs and parameters, but I have no idea how to find a list of options I can pass to a certain parameter for a specific def, for a specific class.
1
u/metal_acid May 06 '22
Real question:
How do you find what are the options to pass as a parameter? For example, say a method has a parameter called "color", how do you find out which colors you can pass to it? How do I find a list of correct colors? In python I'll print out help() and pass a class and get the list of defs and parameters, but I have no idea how to find a list of options I can pass to a certain parameter for a specific def, for a specific class.