#NEWLINE# def toggleDown( self ) : #NEWLINE# #INDENT# 'Toggle the up/down attribute.' #NEWLINE# newFaceID = ( self . getCurrentFace ( ) . getFaceID ( ) ^ self . DOWN_ATTRIBUTE ) #NEWLINE# self . setCurrentFaceFromID ( newFaceID )