예제 #1
0
파일: type_a.py 프로젝트: AALEKH/sympy
 def __new__(cls, n):
     assert n >= 1
     return Standard_Cartan.__new__(cls, "A", n)
예제 #2
0
 def __new__(cls, n):
     if n < 1:
         raise ValueError("n can not be less than 1")
     return Standard_Cartan.__new__(cls, "A", n)
예제 #3
0
 def __new__(cls, n):
     assert n >= 1
     return Standard_Cartan.__new__(cls, "A", n)