Python documents state elsewhere that a comma is not an operator, so calling it an operator here is confusing. See https://docs.python.org/3/reference/lexical_analysis.htmlGH-operators and https://docs.python.org/3/faq/programming.htmlGH-id22.
(cherry picked from commit
d578aaea6257458c199328100cbb5af64c6a043e)
Co-authored-by: Gerardwx <Gerardwx@users.noreply.github.com>
single: , (comma)
Note that tuples are not formed by the parentheses, but rather by use of the
-comma operator. The exception is the empty tuple, for which parentheses *are*
+comma. The exception is the empty tuple, for which parentheses *are*
required --- allowing unparenthesized "nothing" in expressions would cause
ambiguities and allow common typos to pass uncaught.