Skip to content

Single-argument functions cannot be called using keyword #3090

@jdemeyer

Description

@jdemeyer
In [1]: %load_ext cython

In [2]: %%cython
   ...: def f(k): return k

In [3]: f(k=1)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-3-2f40ef43e783> in <module>()
----> 1 f(k=1)

TypeError: f() takes no keyword arguments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions