Since the advent of extended slicing, operator.isMapp ingType() returns a
misleading result.
[color=blue][color=green][color=darkred]
>>> map(operator.is MappingType, ([], (), {}, '', u''))[/color][/color][/color]
[True, True, True, True, True]
I recommend removing it from the operator module.
Raymond Hettinger
misleading result.
[color=blue][color=green][color=darkred]
>>> map(operator.is MappingType, ([], (), {}, '', u''))[/color][/color][/color]
[True, True, True, True, True]
I recommend removing it from the operator module.
Raymond Hettinger
Comment