Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e15945

Browse files
committed
Markup errors: \cfuntion -> \cfunction
1 parent 7d45d34 commit 4e15945

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/ext/ext.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ \section{Format Strings for \cfunction{PyArg_ParseTuple()}
731731
The encoding name must map to a registered codec. If set to \NULL{},
732732
the 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
735735
size using \cfunction{PyMem_NEW()}, copy the encoded data into this
736736
buffer and adjust \var{*buffer} to reference the newly allocated
737737
storage. The caller is responsible for calling
@@ -753,14 +753,14 @@ \section{Format Strings for \cfunction{PyArg_ParseTuple()}
753753
There are two modes of operation:
754754

755755
If \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
757757
size using \cfunction{PyMem_NEW()}, copy the encoded data into this
758758
buffer and adjust \var{*buffer} to reference the newly allocated
759759
storage. The caller is responsible for calling
760760
\cfunction{PyMem_Free()} to free the allocated buffer after usage.
761761

762762
If \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
764764
buffer and interpret \var{*buffer_length} as buffer size. It will then
765765
copy the encoded data into the buffer and 0-terminate it. Buffer
766766
overflow is signalled with an exception.

0 commit comments

Comments
 (0)