<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def with_settings(self, stop: Optional[int] = None, start: int = 0, step: int = 1) -> 'Loop': """ Set start, stop and step loop configuration. :param stop: Looop stop iteration integer. If None then loop becomes infinite. :param start: Loop iteration start integer. :param step: Loop iteration interval integer. :return: Loop itself. """

        self.start = start
        self.stop = stop
        self.step = step
        return self