code: def wrap_str(self, s=None, wrapper=None):
          
          wrapper = wrapper or (self.wrapper or ('', ''))
          return str('' if s is None else s).join(wrapper)
docs: Wrap a string in self.wrapper, with some extra handling for
              empty/None strings.
              If `wrapper` is set, use it instead.