[issue11988] special method lookup docs don't address some important details
New submission from R. David Murray
Changes by Andreas Stührk
Changes by Raymond Hettinger
Eric Snow
print('res:', 1 in y) ('X contains:', 1) ('res:', False)
This makes sense with old style classes. With Y(object):
print('res:', 1 in y) Y iter ('res:', True)
----------
nosy: +ericsnow
_______________________________________
Python tracker
Georg Brandl
R. David Murray
R. David Murray
participants (5)
-
Andreas Stührk
-
Eric Snow
-
Georg Brandl
-
R. David Murray
-
Raymond Hettinger