From d2928a38d2576ecfd41e5e80395e6076ac664e83 Mon Sep 17 00:00:00 2001 From: Lafrite Date: Mon, 22 Dec 2014 11:46:42 +0100 Subject: [PATCH] numerand spelling... --- pymath/generic.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pymath/generic.py b/pymath/generic.py index 8f22345..c911b27 100644 --- a/pymath/generic.py +++ b/pymath/generic.py @@ -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