[issue41911] Language reference for expressions incorrectly specifies what type of object(s) are expected
Brett Cannon <brett@python.org> added the comment: It turns out the "expressions" page of the language reference makes multiple claims about types which do not hold, e.g. for multiplication, "The arguments must either both be numbers, or one argument must be an integer and the other must be a sequence", or for `&` that its arguments "must be integers". So this is much larger than just comparison operators. ---------- assignee: brett.cannon -> docs@python nosy: +docs@python title: Language reference incorrectly says comparison expressions return boolean values -> Language reference for expressions incorrectly specifies what type of object(s) are expected _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue41911> _______________________________________
participants (1)
-
Brett Cannon