On Thu, Jun 20, 2019 at 2:07 AM Franklin? Lee <[email protected]> wrote: > For example, > if (A <: B or A <: C) and A <: D: > is not much better than > if issubclass(A, (B, C)) and issubclass(A, D): > especially if you don't know what either of those mean. You can search > for issubclass, but you can't search for <:.
Please can people stop trotting out this tired argument? I just typed "<:" (without the quotes) into Google - or rather, into my Chrome omnibar - and the first hit was a Stack Overflow question regarding the "<:" operator in Scala, the second is Scala documentation about "Upper Type Bounds" which looks plausible, and then there are a few others that may or may not be related. Symbols CAN be searched for, both in Google and in many documentation tools. ChrisA _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/GH4A2ZSARQTQLGKC2GI4E3UHTH6BISRW/ Code of Conduct: http://python.org/psf/codeofconduct/
