Skip to content

Commit

Permalink
Stop using utils.StringIO
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser committed Jan 2, 2020
1 parent 0e77a4e commit 8eb8df2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions galgebra/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from sympy.core.function import _coeff_isneg
from sympy.core.operations import AssocOp
from sympy import init_printing
from . import utils

try:
from IPython.display import display, Latex, Math, display_latex
Expand Down Expand Up @@ -631,7 +630,7 @@ def redirect():
pass
else:
GaLatexPrinter.stdout = sys.stdout
sys.stdout = utils.StringIO()
sys.stdout = io.StringIO()
return

@staticmethod
Expand Down

0 comments on commit 8eb8df2

Please sign in to comment.