Emit the function header of the wrapper implementation.
(self)
| 881 | return bool(self.cleanups or self.traceback_code) |
| 882 | |
| 883 | def emit_header(self) -> None: |
| 884 | """Emit the function header of the wrapper implementation.""" |
| 885 | input_args = ", ".join(f"PyObject *obj_{arg}" for arg in self.arg_names) |
| 886 | self.emitter.emit_line( |
| 887 | "static PyObject *{name}({input_args}) {{".format( |
| 888 | name=self.wrapper_name(), input_args=input_args |
| 889 | ) |
| 890 | ) |
| 891 | |
| 892 | def emit_arg_processing( |
| 893 | self, error: ErrorHandler | None = None, raise_exception: bool = True |
no test coverage detected