Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
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
76 changes: 38 additions & 38 deletions Lib/test/clinic.test.c

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions Lib/test/test_clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,11 +432,11 @@ def test_dest_buffer_not_empty_at_eof(self):
"\\n");

#define FN_METHODDEF \\
{"fn", (PyCFunction)fn, METH_O, fn__doc__},
{"fn", fn, METH_O, fn__doc__},

static PyObject *
fn(PyObject *module, PyObject *a)
/*[clinic end generated code: output=be6798b148ab4e53 input=524ce2e021e4eba6]*/
/*[clinic end generated code: output=9ca52938037af908 input=524ce2e021e4eba6]*/
""")
block = dedent("""
/*[clinic input]
Expand Down Expand Up @@ -2930,11 +2930,11 @@ def test_file_dest(self):
"\\n");

#define FUNC_METHODDEF \\
{"func", (PyCFunction)func, METH_O, func__doc__},
{"func", func, METH_O, func__doc__},

static PyObject *
func(PyObject *module, PyObject *a)
/*[clinic end generated code: output=3dde2d13002165b9 input=a9049054013a1b77]*/
/*[clinic end generated code: output=c710c5cbbd6f0a2f input=a9049054013a1b77]*/
""")
with os_helper.temp_dir() as tmp_dir:
in_fn = os.path.join(tmp_dir, "test.c")
Expand Down
6 changes: 3 additions & 3 deletions Modules/_ctypes/clinic/callproc.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 18 additions & 18 deletions Modules/_io/clinic/bufferedio.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions Modules/_io/clinic/bytesio.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Modules/_io/clinic/fileio.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading