Python/getargs/nokw

Search:
Group by:
Source   Edit  

Templates

template PyArg_NoKw(funcname) {.dirty.}
Source   Edit  
template PyArg_NoKw(funcname; kw) {.dirty.}

this is not _PyArg_NoKeywords, as it doesn't check if kw.len == 0 ! only used for BltinMethod/BltinFunc, not for Python's function check

And unlike PyArg_NoKwname, kw shall be PyDictObject

Source   Edit