I want to inherit from frozenset and change the constructor. What I actually want to do is to make a singleton fronzeset, but instead here I’ll provide a simplified example: However, when I try to create an instance of B, I get an error: What’s going on and how to fix this? Answer For technical reasons, for immutable types like