X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/89157adcd6833444063825f8d8a08a5111c63518..9f49c854939cf36901a4a31e43abdb4ea440060f:/catacomb/__init__.py diff --git a/catacomb/__init__.py b/catacomb/__init__.py index 0f0aa99..93f66da 100644 --- a/catacomb/__init__.py +++ b/catacomb/__init__.py @@ -108,11 +108,6 @@ class _tmp: def mont(x): return MPMont(x) def barrett(x): return MPBarrett(x) def reduce(x): return MPReduce(x) - def factorial(x): - 'factorial(X) -> X!' - if x < 0: raise ValueError, 'factorial argument must be > 0' - return MPMul.product(xrange(1, x + 1)) - factorial = staticmethod(factorial) _augment(MP, _tmp) class _tmp: