parameters: (env, suffix, version)
return_statement: return suffix
docstring: For suffix='.so' and version='0.1.2' it returns '.so.0.1.2
docstring_summary: For suffix='.so' and version='0.1.2' it returns '.so.0.1.2
docstring_tokens: For suffix = . so and version = 0 . 1 . 2 it returns . so . 0 . 1 . 2
function: def _versioned_lib_suffix(env, suffix, version):
      """For suffix='.so' and version='0.1.2' it returns '.so.0.1.2'"""
      Verbose = False
      if Verbose:
          print("_versioned_lib_suffix: suffix={:r}".format(suffix))
          print("_versioned_lib_suffix: version={:r}".format(version))
      if not suffix.endswith(version):
          suffix = suffix + '.' + version
      if Verbose:
          print("_versioned_lib_suffix: return suffix={:r}".format(suffix))
      return suffix
function_tokens: def _versioned_lib_suffix ( env , suffix , version ) : Verbose = False if Verbose : print ( "_versioned_lib_suffix: suffix={:r}" . format ( suffix ) ) print ( "_versioned_lib_suffix: version={:r}" . format ( version ) ) if not suffix . endswith ( version ) : suffix = suffix + '.' + version if Verbose : print ( "_versioned_lib_suffix: return suffix={:r}" . format ( suffix ) ) return suffix