sanitize_method

psi4.driver.p4util.sanitize_method(name)[source]

Replace characters in method name so that suitable for function name or Sphinx table anchor (both as-is) or HTML table link (replace underscore in returned string by dash).

Return type:

str

Parameters:

name (str)