El mar, 10 may 2022 a las 9:06, Venkat Ramakrishnan (< venkat.archit...@gmail.com>) escribió:
> I am looking at: > https://docs.python.org/3/reference/grammar.html > > in which the following definition is found: > > lambda_slash_no_default: > | lambda_param_no_default+ '/' ',' > | lambda_param_no_default+ '/' &':' > > Can someone tell me how '/' is being used here in the syntax? > It just means the literal / character. It's the marker for positional-only parameters from PEP 570. > > Thanks, > Venkat. > _______________________________________________ > Python-Dev mailing list -- python-dev@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/python-dev@python.org/message/WNQVENTVABM5VIVUMEPR4WTOV7GMHFXS/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/ZBE2YFAOB3D6TY5VL5IEP6QGBE5P65S7/ Code of Conduct: http://python.org/psf/codeofconduct/