[issue23944] Argument Clinic: wrap impl's declaration if it's too long

Zachary Ware report at bugs.python.org
Tue Apr 14 20:03:17 CEST 2015


Zachary Ware added the comment:

Larry: Here's your sample:

/*[clinic input]
_winapi.CreateProcess

    application_name: Py_UNICODE(nullable=True)
    command_line: Py_UNICODE(nullable=True)
    proc_attrs: object
        Ignored internally, can be None.
    thread_attrs: object
        Ignored internally, can be None.
    inherit_handles: BOOL
    creation_flags: DWORD
    env_mapping: object
    current_directory: Py_UNICODE(nullable=True)
    startup_info: object
    /

Create a new process and its primary thread.

The return value is a tuple of the process handle, thread handle,
process ID, and thread ID.
[clinic start generated code]*/

static PyObject *
_winapi_CreateProcess_impl(PyModuleDef *module, Py_UNICODE *application_name, Py_UNICODE *command_line, PyObject *proc_attrs, PyObject *thread_attrs, BOOL inherit_handles, DWORD creation_flags, PyObject *env_mapping, Py_UNICODE *current_directory, PyObject *startup_info)
/*[clinic end generated code: output=c279c1271b4c45cf input=6667ea0bc7036472]*/

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23944>
_______________________________________


More information about the Python-bugs-list mailing list