def __setstate__(self, attrs):
        """
        Set this construct's state to a given state.
        """
        for name, value in attrs.items():
            setattr(self, name, value)

        Set this construct's state to a given state.
        
product/runtime/src/main/python/java/_vendor/elftools/construct/core.py