<s> '''<STR_LIT>''' <EOL> obj_attrs = { '<STR_LIT>' , '<STR_LIT>' } <EOL> cls_data_attrs = { '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' } <EOL> cls_methods = { '<STR_LIT>' , '<STR_LIT>' } <EOL> cls_attrs = cls_data_attrs | cls_methods <EOL> an_object = object ( ) <EOL> class EmptyClass ( ) : <EOL> pass <EOL> an_instance = EmptyClass ( ) <EOL> class EmptySlots ( ) : <EOL> __slots__ = ( ) <EOL> a_slots_instance = EmptySlots ( ) <EOL> objs = EmptyClass , EmptySlots , an_object , an_instance , a_slots_instance <EOL> for obj in objs : <EOL> print ( '<STR_LIT:->' * <NUM_LIT> ) <EOL> print ( repr ( obj ) , '<STR_LIT::>' , type ( obj ) ) <EOL> dir_obj = set ( dir ( obj ) ) <EOL> print ( '<STR_LIT>' , sorted ( obj_attrs - dir_obj ) ) <EOL> print ( '<STR_LIT>' , sorted ( cls_attrs ) ) <EOL> print ( '<STR_LIT>' , sorted ( cls_attrs - dir_obj ) ) </s>
