#NEWLINE# def __new__( cls , dim = 4 , eps_dim = None , dummy_fmt = 'L' ) : #NEWLINE# #INDENT# if ( ( dim , eps_dim ) in _LorentzContainer . lorentz_types ) : #NEWLINE# #INDENT# return _LorentzContainer . lorentz_types [ ( dim , eps_dim ) ] #NEWLINE# #UNINDENT# new_L = TensorIndexType ( 'LorentzIndex' , dim = dim , eps_dim = eps_dim , dummy_fmt = dummy_fmt ) #NEWLINE# _LorentzContainer . lorentz_types [ ( dim , eps_dim ) ] = new_L #NEWLINE# return new_L