]> granicus.if.org Git - python/commitdiff
#9158: Fix y* format of PyArg_Parse*() functions documentation
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 5 Jul 2010 21:36:21 +0000 (21:36 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 5 Jul 2010 21:36:21 +0000 (21:36 +0000)
Doc/c-api/arg.rst

index 29d336819309092a19d999f1ae772d413d406b0e..72f2d968faf39d3db856888abc402f691fac3b70 100644 (file)
@@ -100,7 +100,7 @@ Unless otherwise stated, buffers are not NUL-terminated.
    contain embedded NUL bytes; if it does, a :exc:`TypeError`
    exception is raised.
 
-``y*`` (:class:`bytes`, :class:`bytearray` or buffer compatible object) [Py_buffer \*]
+``y*`` (:class:`bytes`, :class:`bytearray` or buffer compatible object) [Py_buffer]
    This variant on ``s*`` doesn't accept Unicode objects, only objects
    supporting the buffer protocol.  **This is the recommended way to accept
    binary data.**