OptionsStateCM¶
- psi4.driver.p4util.OptionsStateCM(osd)[source]¶
Return a context manager that will collect the state (value and changed :rtype:
Iterator[None]status) of a list of keywords osd that can initialize
OptionsStateon entry to the with-statement and restore the collected state when exiting the with-statement.- Return type:
Iterator[None]