@@ -731,7 +731,7 @@ \section{Format Strings for \cfunction{PyArg_ParseTuple()}
731731The encoding name must map to a registered codec. If set to \NULL {},
732732the default encoding is used.
733733
734- \cfuntion {PyArg_ParseTuple()} will allocate a buffer of the needed
734+ \cfunction {PyArg_ParseTuple()} will allocate a buffer of the needed
735735size using \cfunction {PyMem_NEW()}, copy the encoded data into this
736736buffer and adjust \var {*buffer} to reference the newly allocated
737737storage. The caller is responsible for calling
@@ -753,14 +753,14 @@ \section{Format Strings for \cfunction{PyArg_ParseTuple()}
753753There are two modes of operation:
754754
755755If \var {*buffer} points a \NULL {} pointer,
756- \cfuntion {PyArg_ParseTuple()} will allocate a buffer of the needed
756+ \cfunction {PyArg_ParseTuple()} will allocate a buffer of the needed
757757size using \cfunction {PyMem_NEW()}, copy the encoded data into this
758758buffer and adjust \var {*buffer} to reference the newly allocated
759759storage. The caller is responsible for calling
760760\cfunction {PyMem_Free()} to free the allocated buffer after usage.
761761
762762If \var {*buffer} points to a non-\NULL {} pointer (an already allocated
763- buffer), \cfuntion {PyArg_ParseTuple()} will use this location as
763+ buffer), \cfunction {PyArg_ParseTuple()} will use this location as
764764buffer and interpret \var {*buffer_length} as buffer size. It will then
765765copy the encoded data into the buffer and 0-terminate it. Buffer
766766overflow is signalled with an exception.
0 commit comments