示例#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)