]> granicus.if.org Git - python/commitdiff
docs.capi: Fix tp_as_async doc
authorYury Selivanov <yselivanov@sprymix.com>
Tue, 23 Jun 2015 15:46:09 +0000 (11:46 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Tue, 23 Jun 2015 15:46:09 +0000 (11:46 -0400)
Doc/c-api/typeobj.rst

index 37dc6358723da83c0bdbad43c1315a8273d50328..ed83e82d7271736316329b9294a0db27c13c23ae 100644 (file)
@@ -220,7 +220,7 @@ type objects) *must* have the :attr:`ob_size` field.
    the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are both *NULL*.
 
 
-.. c:member:: void* PyTypeObject.tp_as_async
+.. c:member:: PyAsyncMethods* tp_as_async
 
    Pointer to an additional structure that contains fields relevant only to
    objects which implement :term:`awaitable` and :term:`asynchronous iterator`