numerand spelling...

This commit is contained in:
Lafrite 2014-12-22 11:46:42 +01:00
parent 7d26fd722a
commit d2928a38d2
1 changed files with 5 additions and 5 deletions

View File

@ -335,20 +335,20 @@ def isPolynom(exp):
return 0
return 1
def isNumerande(exp):
def isNumerand(exp):
"""Check is the expression is something we can compute with
>>> isNumerande(1)
>>> isNumerand(1)
1
>>> from pymath.polynom import Polynom
>>> p = Polynom([1,2])
>>> isNumerande(p)
>>> isNumerand(p)
1
>>> from pymath.fraction import Fraction
>>> f = Fraction(12)
>>> isNumerande(f)
>>> isNumerand(f)
1
>>> isNumerande("a")
>>> isNumerand("a")
0