def build_class(self):
        """
        Finalize class based on the accumulated configuration.

        Builder cannot be used after calling this method.
        """
        if self._slots is True:
            return self._create_slots_class()
        else:
            return self._patch_original_class()

        Finalize class based on the accumulated configuration.

        Builder cannot be used after calling this method.
        
stackoverflow/venv/lib/python3.6/site-packages/attr/_make.py