hold_options_state

psi4.driver.p4util.hold_options_state()[source]

Return a context manager that will collect the current state of :rtype: Iterator[None]

Process:environment.options on entry to the with-statement and clear and restore the collected keywords state when exiting the with-statement.

Return type:

Iterator[None]