From bc4d68eb206bcfa76272b7025e04d6a75cb59035 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 13 Feb 2014 22:26:36 +0000 Subject: [PATCH] [Cython] Add saveState/restoreState info to the migration guide --- doc/sphinx/cython/migrating.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/sphinx/cython/migrating.rst b/doc/sphinx/cython/migrating.rst index c31d47c27..2b428cb9b 100644 --- a/doc/sphinx/cython/migrating.rst +++ b/doc/sphinx/cython/migrating.rst @@ -134,6 +134,13 @@ should be replaced with:: >>> gas.UV = -1.1e6, 5.5 >>> gas.TPY = 300, 101325, 'H2:1.0' +The ``saveState`` and ``restoreState`` methods have been removed. Their +functionality can be replicated as follows:: + + >>> state = gas.TDY + >>> # (operations that modify gas) + >>> gas.TDY = state + Printing Phase Summaries ------------------------