def _AddSlots(message_descriptor, dictionary):
 dictionary['__slots__'] = ['_cached_byte_size', '_cached_byte_size_dirty', '_fields', '_unknown_fields', '_is_present_in_parent', '_listener', '_listener_for_children', '__weakref__']

def _AddSlots ( message_descriptor , dictionary ) : dictionary [ '__slots__' ] = [ '_cached_byte_size' , '_cached_byte_size_dirty' , '_fields' , '_unknown_fields' , '_is_present_in_parent' , '_listener' , '_listener_for_children' , '__weakref__' ]
adds a __slots__ entry to dictionary .