# this is to support overridden attrs from subclass.
# TODO: build up a dict of all base classes before UserFrame/UserSeries
type_dict = type(self).__dict__
is_user_class = _is_user_class(self)
if not is_user_class and name in type_dict:
return object.__getattribute__(self, name)
This line skips UserFrame. Well, outside of the fact that it won't grab iteritems for subclasses (it only checks for current class).
So for the case of operating on a UserFrame, it will default to skipping it.
This line skips
UserFrame
. Well, outside of the fact that it won't grab iteritems for subclasses (it only checks for current class).So for the case of operating on a UserFrame, it will default to skipping it.
Not sure why.