bpo-37342: Fix the incorrect nb_index's type in typeobj documentation (GH-14241)

It was listed as `binaryfunc`. It should be `unaryfunc`.
This commit is contained in:
Hai Shi 2019-06-19 22:32:24 -05:00 committed by Miss Islington (bot)
parent af41c567af
commit bc5caf88ca
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ sub-slots
+---------------------------------------------------------+-----------------------------------+--------------+
| :c:member:`~PyNumberMethods.nb_inplace_true_divide` | :c:type:`binaryfunc` | __truediv__ |
+---------------------------------------------------------+-----------------------------------+--------------+
| :c:member:`~PyNumberMethods.nb_index` | :c:type:`binaryfunc` | __index__ |
| :c:member:`~PyNumberMethods.nb_index` | :c:type:`unaryfunc` | __index__ |
+---------------------------------------------------------+-----------------------------------+--------------+
| :c:member:`~PyNumberMethods.nb_matrix_multiply` | :c:type:`binaryfunc` | __matmul__ |
| | | __rmatmul__ |