#NEWLINE# def all( self , namespace = None ) : #NEWLINE# #INDENT# if ( namespace is None ) : #NEWLINE# #INDENT# return commands . _commands #NEWLINE# #UNINDENT# commands = OrderedDict ( ) #NEWLINE# for ( name , command ) in self . _commands . items ( ) : #NEWLINE# #INDENT# if ( namespace == self . extract_namespace ( name , ( namespace . count ( ':' ) + 1 ) ) ) : #NEWLINE# #INDENT# commands [ name ] = command #NEWLINE# #UNINDENT# #UNINDENT# return commands