docstr: Short version for OpenSSL download URL
docstr_tok: ["Short","version","for","OpenSSL","download","URL"]
code: def short_version(self):
      """Short version for OpenSSL download URL"""
      mo = re.search(r"^(\d+)\.(\d+)\.(\d+)", self.version)
      parsed = tuple(int(m) for m in mo.groups())
      if parsed < (1, 0, 0):
          return "0.9.x"
      if parsed >= (3, 0, 0):
          # OpenSSL 3.0.0 -> /old/3.0/
          parsed = parsed[:2]
      return ".".join(str(i) for i in parsed)
  
imports: from __future__ import print_function
  import argparse
  from datetime import datetime
  import logging
  import os
  import re
  import shutil
  import subprocess
  import sys
  import tarfile
label_desc: Use image node_id 4 for calling the BuildOpenSSL obj's underlying member method code with example usage: obj.short_version() and returns: str, str