The slash "/" as used in the documentation

Chris Angelico rosuav at gmail.com
Tue Feb 12 14:30:04 EST 2019


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.

ChrisA



More information about the Python-list mailing list