code: def _delay(self, ms):
          
          if ms:
              self.Delay(ms)
          else:
              if self.default_delay:
                  self.Delay(self.default_delay)
docs: Implement default delay mechanism.