@@ -129,12 +129,12 @@ which disallows mutable objects such as :class:`bytearray`.
129129``S `` (:class: `bytes `) [PyBytesObject \* ]
130130 Requires that the Python object is a :class: `bytes ` object, without
131131 attempting any conversion. Raises :exc: `TypeError ` if the object is not
132- a bytes object. The C variable may also be declared as :c:type: `PyObject\ * `.
132+ a bytes object. The C variable may also be declared as :c:type: `PyObject* `.
133133
134134``Y `` (:class: `bytearray `) [PyByteArrayObject \* ]
135135 Requires that the Python object is a :class: `bytearray ` object, without
136136 attempting any conversion. Raises :exc: `TypeError ` if the object is not
137- a :class: `bytearray ` object. The C variable may also be declared as :c:type: `PyObject\ * `.
137+ a :class: `bytearray ` object. The C variable may also be declared as :c:type: `PyObject* `.
138138
139139``u `` (:class: `str `) [const Py_UNICODE \* ]
140140 Convert a Python Unicode object to a C pointer to a NUL-terminated buffer of
@@ -181,7 +181,7 @@ which disallows mutable objects such as :class:`bytearray`.
181181``U `` (:class: `str `) [PyObject \* ]
182182 Requires that the Python object is a Unicode object, without attempting
183183 any conversion. Raises :exc: `TypeError ` if the object is not a Unicode
184- object. The C variable may also be declared as :c:type: `PyObject\ * `.
184+ object. The C variable may also be declared as :c:type: `PyObject* `.
185185
186186``w* `` (read-write :term: `bytes-like object `) [Py_buffer]
187187 This format accepts any object which implements the read-write buffer
@@ -194,10 +194,10 @@ which disallows mutable objects such as :class:`bytearray`.
194194 It only works for encoded data without embedded NUL bytes.
195195
196196 This format requires two arguments. The first is only used as input, and
197- must be a :c:type: `const char\ * ` which points to the name of an encoding as a
197+ must be a :c:type: `const char* ` which points to the name of an encoding as a
198198 NUL-terminated string, or ``NULL ``, in which case ``'utf-8' `` encoding is used.
199199 An exception is raised if the named encoding is not known to Python. The
200- second argument must be a :c:type: `char\*\ * `; the value of the pointer it
200+ second argument must be a :c:type: `char* * `; the value of the pointer it
201201 references will be set to a buffer with the contents of the argument text.
202202 The text will be encoded in the encoding specified by the first argument.
203203
@@ -217,10 +217,10 @@ which disallows mutable objects such as :class:`bytearray`.
217217 characters.
218218
219219 It requires three arguments. The first is only used as input, and must be a
220- :c:type: `const char\ * ` which points to the name of an encoding as a
220+ :c:type: `const char* ` which points to the name of an encoding as a
221221 NUL-terminated string, or ``NULL ``, in which case ``'utf-8' `` encoding is used.
222222 An exception is raised if the named encoding is not known to Python. The
223- second argument must be a :c:type: `char\*\ * `; the value of the pointer it
223+ second argument must be a :c:type: `char* * `; the value of the pointer it
224224 references will be set to a buffer with the contents of the argument text.
225225 The text will be encoded in the encoding specified by the first argument.
226226 The third argument must be a pointer to an integer; the referenced integer
@@ -320,7 +320,7 @@ Other objects
320320``O! `` (object) [*typeobject *, PyObject \* ]
321321 Store a Python object in a C object pointer. This is similar to ``O ``, but
322322 takes two C arguments: the first is the address of a Python type object, the
323- second is the address of the C variable (of type :c:type: `PyObject\ * `) into which
323+ second is the address of the C variable (of type :c:type: `PyObject* `) into which
324324 the object pointer is stored. If the Python object does not have the required
325325 type, :exc: `TypeError ` is raised.
326326
@@ -329,13 +329,13 @@ Other objects
329329``O& `` (object) [*converter *, *anything *]
330330 Convert a Python object to a C variable through a *converter * function. This
331331 takes two arguments: the first is a function, the second is the address of a C
332- variable (of arbitrary type), converted to :c:type: `void \ * `. The *converter *
332+ variable (of arbitrary type), converted to :c:type: `void * `. The *converter *
333333 function in turn is called as follows::
334334
335335 status = converter(object, address);
336336
337337 where *object * is the Python object to be converted and *address * is the
338- :c:type: `void\ * ` argument that was passed to the :c:func: `PyArg_Parse\* ` function.
338+ :c:type: `void* ` argument that was passed to the :c:func: `PyArg_Parse\* ` function.
339339 The returned *status * should be ``1 `` for a successful conversion and ``0 `` if
340340 the conversion has failed. When the conversion fails, the *converter * function
341341 should raise an exception and leave the content of *address * unmodified.
@@ -481,7 +481,7 @@ API Functions
481481 *args *; it must actually be a tuple. The length of the tuple must be at least
482482 *min * and no more than *max *; *min * and *max * may be equal. Additional
483483 arguments must be passed to the function, each of which should be a pointer to a
484- :c:type: `PyObject\ * ` variable; these will be filled in with the values from
484+ :c:type: `PyObject* ` variable; these will be filled in with the values from
485485 *args *; they will contain borrowed references. The variables which correspond
486486 to optional parameters not given by *args * will not be filled in; these should
487487 be initialized by the caller. This function returns true on success and false if
@@ -650,8 +650,8 @@ Building values
650650
651651 ``O&`` (object) [*converter*, *anything*]
652652 Convert *anything* to a Python object through a *converter* function. The
653- function is called with *anything* (which should be compatible with :c:type: `void
654- \* `) as its argument and should return a "new" Python object, or ``NULL`` if an
653+ function is called with *anything* (which should be compatible with :c:type: `void* `)
654+ as its argument and should return a "new" Python object, or ``NULL`` if an
655655 error occurred.
656656
657657 ``(items)`` (:class: `tuple `) [*matching-items*]
0 commit comments