Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix init return converter name
  • Loading branch information
erlend-aasland committed May 4, 2023
commit e7233a451e673d13f528dd373620b85efc688b96
4 changes: 2 additions & 2 deletions Doc/howto/clinic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1074,11 +1074,11 @@ Currently Argument Clinic supports only a few return converters:
Py_ssize_t
float
double
__init__
init

None of these take parameters. For the first three, return -1 to indicate
error.
The ``__init__`` converter is a special return converter for ``__init__``
The ``init`` converter is a special return converter for ``__init__``
functions.

To see all the return converters Argument Clinic supports, along with
Expand Down