code: def _tpl_possibilities(self):
          
          tpl_possibilities = [
              os.path.realpath(self.tpl)
          ]
          for tpl_dir in self.tpl_dirs:
              tpl_possibilities.append(os.path.realpath(os.path.join(tpl_dir, "{0}.tpl".format(self.tpl))))
              tpl_possibilities.append(os.path.realpath(os.path.join(tpl_dir, "{0}.py".format(self.tpl))))
  
          return tpl_possibilities
docs: Construct a list of possible paths to templates.