Optimization of expand in basic_modif.py

Making Expr immutable, and then optimize __hash__ with this
This commit is contained in:
Clément Barthélemy 2024-02-24 02:57:07 +01:00
parent c27d706a26
commit 948e4da10c
6 changed files with 92 additions and 37 deletions

View file

@ -1,6 +1,6 @@
from __future__ import annotations
from typing import Iterable, Generator
from python_symb.IndependantTools.tools import gcd
from python_symb.IndependantTools.math_tools import gcd
class Fraction: