Code: Select all
a_type = UnknownType
< /code>
Ich möchte wissen, wie viele Parameter von diesem Typ erwartet werden, um so etwas wie folgt zu instanziieren.
expected_number_of_arg = nb_args(a_type)
# where expected_number_of_args = 0 if a_type can be instantiated like this a_type()