From f767aa390cb232ab6c2b773bc8c78c5d17fc9d8b Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 20 Aug 2020 20:42:46 +0200 Subject: [PATCH] Fix: rename list_generator to random_list --- mapytex/__init__.py | 2 +- mapytex/calculus/__init__.py | 2 +- mapytex/calculus/core/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mapytex/__init__.py b/mapytex/__init__.py index 7670ee8..28eee4f 100644 --- a/mapytex/__init__.py +++ b/mapytex/__init__.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # encoding: utf-8 -from .calculus import Expression, Integer, Decimal, list_generator +from .calculus import Expression, Integer, Decimal, random_list # Expression.set_render('tex') diff --git a/mapytex/calculus/__init__.py b/mapytex/calculus/__init__.py index e748aea..48e2ef9 100644 --- a/mapytex/calculus/__init__.py +++ b/mapytex/calculus/__init__.py @@ -31,7 +31,7 @@ Expression is the classe wich handle all calculus. It can randomly generate or i """ from .API import Expression, Integer, Decimal -from .core import list_generator +from .core import random_list from decimal import getcontext #getcontext().prec = 2 diff --git a/mapytex/calculus/core/__init__.py b/mapytex/calculus/core/__init__.py index 9605e36..41e8ad4 100644 --- a/mapytex/calculus/core/__init__.py +++ b/mapytex/calculus/core/__init__.py @@ -66,7 +66,7 @@ from .tree import Tree, AssocialTree from .compute import compute from .typing import typing, TypingError from .renders import tree2txt, tree2tex -from .random import list_generator +from .random import list_generator as random_list # ----------------------------- diff --git a/setup.py b/setup.py index 6077787..c26e05d 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ except ImportError: setup( name="mapytex", - version="2.3", + version="2.3.1", description="Computing like a student", author="Benjamin Bertrand", author_email="programming@opytex.org",