(self, *, name=_void, kind=_void,
                annotation=_void, default=_void)
return type(self)(name, kind, default=default, annotation=annotation)
Creates a customized copy of the Parameter.
Creates a customized copy of the Parameter.
Creates a customized copy of the Parameter .
def replace(self, *, name=_void, kind=_void,
                annotation=_void, default=_void):
        """Creates a customized copy of the Parameter."""

        if name is _void:
            name = self._name

        if kind is _void:
            kind = self._kind

        if annotation is _void:
            annotation = self._annotation

        if default is _void:
            default = self._default

        return type(self)(name, kind, default=default, annotation=annotation)
def replace ( self , * , name = _void , kind = _void , annotation = _void , default = _void ) : if name is _void : name = self . _name if kind is _void : kind = self . _kind if annotation is _void : annotation = self . _annotation if default is _void : default = self . _default return type ( self ) ( name , kind , default = default , annotation = annotation )