The slash "/" as used in the documentation

Piet van Oostrum piet-l at vanoostrum.org
Sat Feb 9 08:29:57 EST 2019


ram at zedat.fu-berlin.de (Stefan Ram) writes:

>   The slash »/« as used in the documentation
>
> f( x, /, y )
>
>   is so ugly, it will disappear. Especially since it consumes
>   a comma as it it was a parameter itself.
>
>   Possible alternatives include: 
>
>   A newline:
>
> f( x,
> y )
>
>   A separate specification of the first non-positional parameter:
>
> f( x, y )
> # y
>
>   (use "(" or ")" when all parameters are non-positional or
>   positional, respectively).
>
>   A semicolon:
>
> f( x; y )
>
>   (the actual call still would use a comma there).
>
What are you talking about? What documentation? It seems to me you are talking about a completely different programming language, not python.
-- 
Piet van Oostrum <piet-l at vanoostrum.org>
WWW: http://piet.vanoostrum.org/
PGP key: [8DAE142BE17999C4]


More information about the Python-list mailing list