parameters: (message_descriptor, dictionary)
docstring: Adds class attributes for the nested extensions.
docstring_summary: Adds class attributes for the nested extensions.
docstring_tokens: Adds class attributes for the nested extensions .
function: def _AddClassAttributesForNestedExtensions(message_descriptor, dictionary):
    """Adds class attributes for the nested extensions."""
    extension_dict = message_descriptor.extensions_by_name
    for extension_name, extension_field in extension_dict.iteritems():
      assert extension_name not in dictionary
      dictionary[extension_name] = extension_field
function_tokens: def _AddClassAttributesForNestedExtensions ( message_descriptor , dictionary ) : extension_dict = message_descriptor . extensions_by_name for extension_name , extension_field in extension_dict . iteritems ( ) : assert extension_name not in dictionary dictionary [ extension_name ] = extension_field