API Reference

smartcall.call(f, *args)

Call the given function with as many of the given arguments as it can accept.

smartcall.PosOnly(value, *[, required])

A value that must be passed as a positional argument.

smartcall.PosOrKw(name, value, *[, required])

A value that can be passed as either a positional or a keyword argument.

smartcall.KwOnly(name, value, *[, required])

A value that must be passed as a keyword argument.