newer
Doubt about closure/function...

Why is the return value of __contains__ coerced to boolean, but that of __lt__ and the like is not?

Show replies by date

4264
Age (days ago)
4264
Last active (days ago)

List overview

Download

4 comments
3 participants

Add to favorites

tags

participants (3)

  • Ben Hoyt
  • Nick Coghlan
  • Steven D'Aprano