OptionsStateCM

psi4.driver.p4util.OptionsStateCM(osd)[source]

Return a context manager that will collect the state (value and changed status) of a list of keywords osd that can initialize OptionsState on entry to the with-statement and restore the collected state when exiting the with-statement.

Return type:

Iterator[None]