Brett Cannon <br...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue41911>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to