def init(self):
        """Initial value of a port member.

        Returns
        -------
        :ref:`const-castable object <lang-constcasting>`
            The initial value that was provided when constructing this :class:`Member`.

        Raises
        ------
        :exc:`AttributeError`
            If :py:`self` describes a signature member.
        """
        if self.is_signature:
            raise AttributeError(f"A signature member does not have an initial value")
        return self._init
Initial value of a port member.

        Returns
        -------
        :ref:`const-castable object <lang-constcasting>`
            The initial value that was provided when constructing this :class:`Member`.

        Raises
        ------
        :exc:`AttributeError`
            If :py:`self` describes a signature member.
        
amaranth/lib/wiring.py