code: def send_periodic(bus, message, period, *args, **kwargs):
      
      warnings.warn("The function `can.send_periodic` is deprecated and will " +
                    "be removed in an upcoming version. Please use `can.Bus.send_periodic` instead.", DeprecationWarning)
      return bus.send_periodic(message, period, *args, **kwargs)
docs: Send a :class:`~can.Message` every `period` seconds on the given bus.
  
      :param can.BusABC bus: A CAN bus which supports sending.
      :param can.Message message: Message to send periodically.
      :param float period: The minimum time between sending messages.
      :return: A started task instance