[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The slash "/" as used in the documentation

On Wed, Feb 13, 2019 at 6:18 AM Peter J. Holzer <hjp-python at hjp.at> wrote:
> On 2019-02-12 07:31:54 +1100, Chris Angelico wrote:
> > Positional arguments with defaults is a concept known in MANY
> > languages,
> True.
> > including C.
> Nope. At least not until C99, and I can't find anything in C11 either.
> Maybe they'll add it in C2x.

Huh, my bad. C++ has it, but C still doesn't. Anyhow, defaults on
function arguments are supported in WAY more languages than keyword
arguments are.