class MyClass: pass class_list = [MyClass] third_party_function(class_list) # or just third_party_function([MyClass])
creating some simple wrapper for third party function, e.g.
def wrapper(C): third_party_function([C])
But it's maybe off topic.
creating some simple wrapper for third party function, e.g.
could also be much simpler solution :)But it's maybe off topic.