code: def _add_flags(flags, new_flags):
      '''
      Combine ``flags`` and ``new_flags``
      '''
      flags = _get_flags(flags)
      new_flags = _get_flags(new_flags)
      return flags | new_flagf _add_flags(flags, new_flags):
      '''
      Combine ``flags`` and ``new_flags``
      '''
      flags = _get_flags(flags)
      new_flags = _get_flags(new_flags)
      return flags | new_flags
docs: Combine ``flags`` and ``new_flags``