#NEWLINE# def _iter_pieces( self , path , include_root = False ) : #NEWLINE# #INDENT# if ( path == self . _root . item ) : #NEWLINE# #INDENT# parts = [ ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# parts = path . split ( pp . sep ) [ 1 : ] #NEWLINE# #UNINDENT# if include_root : #NEWLINE# #INDENT# parts . insert ( 0 , self . _root . item ) #NEWLINE# #UNINDENT# for piece in parts : #NEWLINE# #INDENT# ( yield piece )