[Cython] Fixed a documentation error in ThermoPhase

This commit is contained in:
Ray Speth 2013-01-30 22:05:57 +00:00
parent cccc5c7a8b
commit 3d512996f6

View file

@ -263,9 +263,9 @@ cdef class ThermoPhase(_SolutionBase):
Get/Set the species mole fractions. Can be set as either an array or
as a string. Always returns an array::
>>> phase.Y = [0.1, 0, 0, 0.4, 0, 0, 0, 0, 0.5]
>>> phase.Y = 'H2:0.1, O2:0.4, AR:0.5'
>>> phase.Y
>>> phase.X = [0.1, 0, 0, 0.4, 0, 0, 0, 0, 0.5]
>>> phase.X = 'H2:0.1, O2:0.4, AR:0.5'
>>> phase.X
array([0.1, 0, 0, 0.4, 0, 0, 0, 0, 0.5])
"""