What is the meaning of the following function call?
InferTreeExp(frozenset(), inputList)
Here, the function frozenset()
is passed without any parameters, inputList
is an iterable (list) and InferTreeExp()
is a user-defined function.
What's expected by calling frozenset()
without a parameter passed?
As I can understand, frozenset(iterparam)
creates an immutable set object from an iterable list passed as the parameter. Since here, there is no parameter passed, I do not understand the purpose or the result of calling the function.