From 0cba51afeea59ca97a20c5b8b8fae496f580ab22 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 16 Aug 2008 13:54:11 +0200 Subject: [PATCH] somewhat incomplete test for cdef kwargs, but here it is --- tests/run/cdefkwargs.pyx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/run/cdefkwargs.pyx diff --git a/tests/run/cdefkwargs.pyx b/tests/run/cdefkwargs.pyx new file mode 100644 index 00000000..366a18d3 --- /dev/null +++ b/tests/run/cdefkwargs.pyx @@ -0,0 +1,21 @@ +__doc__ = u""" + >>> call2() + >>> call3() + >>> call4() +""" + +# the calls: + +def call2(): + b(1,2) + +def call3(): + b(1,2,3) + +def call4(): + b(1,2,3,4) + +# the called function: + +cdef b(a, b, c=1, d=2): + pass -- 2.26.2