#NEWLINE# def registerPositionOrder( self , position , order ) : #NEWLINE# #INDENT# self . __activePositions . add ( self ) #NEWLINE# assert order . isActive ( ) #NEWLINE# self . __orderToPosition [ order . getId ( ) ] = position