code: def delete_keys(self, fingerprints, secret=False, subkeys=False):
          
          which = 'keys'
          if secret:
              which = 'secret-keys'
          if subkeys:
              which = 'secret-and-public-keys'
  
          if _is_list_or_tuple(fingerprints):
              fingerprints = ' '.join(fingerprints)
  
          args = ['--batch']
          args.append("--delete-{0} {1}".format(which, fingerprints))
  
          result = self._result_map['delete'](self)
          p = self._open_subprocess(args)
          self._collect_output(p, result, stdin=p.stdin)
          return result
docs: Delete a key, or list of keys, from the current keyring.
  
          The keys must be referred to by their full fingerprints for GnuPG to
          delete them. If ``secret=True``, the corresponding secret keyring will
          be deleted from :obj:`.secring`.
  
          :type fingerprints: :obj:`str` or :obj:`list` or :obj:`tuple`
          :param fingerprints: A string, or a list/tuple of strings,
                               representing the fingerprint(s) for the key(s)
                               to delete.
  
          :param bool secret: If True, delete the corresponding secret key(s)
                              also. (default: False)
  
          :param bool subkeys: If True, delete the secret subkey first, then the
                               public key. (default: False) Same as:
                               :command:`$gpg --delete-secret-and-public-key 0x12345678`.