#NEWLINE# @ property #NEWLINE# def extensions( self ) : #NEWLINE# #INDENT# if ( self . _extensions is not None ) : #NEWLINE# #INDENT# return self . _extensions #NEWLINE# #UNINDENT# self . _extensions = defaultdict ( dict ) #NEWLINE# for element in self . root . find ( 'extensions' ) : #NEWLINE# #INDENT# for api in element . attrib [ 'supported' ] . split ( '|' ) : #NEWLINE# #INDENT# self . _extensions [ api ] [ element . attrib [ 'name' ] ] = Extension ( element , self ) #NEWLINE# #UNINDENT# #UNINDENT# return self . _extensions