def make_assert(error):
 def openssl_assert(ok):
  '\n        If *ok* is not True, retrieve the error from OpenSSL and raise it.\n        '
  if (ok is not True):
   exception_from_error_queue(error)
 return openssl_assert

def make_assert ( error ) : def openssl_assert ( ok ) : if ( ok is not True ) : exception_from_error_queue ( error ) return openssl_assert
create an assert function that uses :func:exception_from_error_queue to raise an exception wrapped by *error* .