Reorganize imports in demo/ (no star imports)

This commit is contained in:
Sergey B Kirpichev
2023-05-06 15:47:38 +03:00
parent 5ec9d07dee
commit e96cf85130
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ Run with:
python manydigits.py
"""
from mpmath import *
from mpmath import (mp, sin, tan, cos, sqrt, e, pi, exp, atanh, mpf, tanh,
zeta, catalan, findroot, quadts, atan, asin, asinh)
from mpmath.libmp import to_fixed, bin_to_radix
dps = 100
+1 -1
View File
@@ -6,7 +6,7 @@ This module can be run interactively with
python taylor.py
"""
from mpmath import *
from mpmath import mpi, exp, factorial, mpf
def taylor(x, n):
print("-"*75)