File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -653,9 +653,9 @@ \section{Format Strings for \sectcode{PyArg_ParseTuple()}}
653653should raise an exception.
654654
655655\item [\samp {S} (string) {[PyStringObject *]}]
656- Like \samp {O} but raises a \code {TypeError} exception that the object
657- is a string object. The \C {} variable may also be declared as
658- \code {PyObject *}.
656+ Like \samp {O} but requires that the Python object is a string object.
657+ Raises a \code {TypeError} exception if the object is not a string
658+ object. The \C {} variable may also be declared as \code {PyObject *}.
659659
660660\item [\samp {(\var {items})} (tuple) {[\var {matching-items}]}]
661661The object must be a Python tuple whose length is the number of format
Original file line number Diff line number Diff line change @@ -653,9 +653,9 @@ \section{Format Strings for \sectcode{PyArg_ParseTuple()}}
653653should raise an exception.
654654
655655\item [\samp {S} (string) {[PyStringObject *]}]
656- Like \samp {O} but raises a \code {TypeError} exception that the object
657- is a string object. The \C {} variable may also be declared as
658- \code {PyObject *}.
656+ Like \samp {O} but requires that the Python object is a string object.
657+ Raises a \code {TypeError} exception if the object is not a string
658+ object. The \C {} variable may also be declared as \code {PyObject *}.
659659
660660\item [\samp {(\var {items})} (tuple) {[\var {matching-items}]}]
661661The object must be a Python tuple whose length is the number of format
You can’t perform that action at this time.
0 commit comments