Feat: remove set_render("txt") in doctest

This commit is contained in:
Bertrand Benjamin 2019-07-11 10:58:01 +02:00
parent 7c4dc05e34
commit cd590c7fe0
3 changed files with 0 additions and 4 deletions

View File

@ -11,7 +11,6 @@ Generate and compute like a student!
:example:
>>> Expression.set_render("txt")
>>> e = Expression.from_str("2+3*4")
>>> e_simplified = e.simplify()
>>> print(e_simplified)

View File

@ -24,7 +24,6 @@ class Expression(object):
:example:
>>> Expression.set_render("txt")
>>> e = Expression.from_str("2+3*4")
>>> e2 = e.simplify()
>>> print(e2)
@ -51,7 +50,6 @@ class Expression(object):
:param render: render name (txt or tex)
:example:
>>> Expression.set_render('txt')
>>> e = Expression.from_str("2+3*4")
>>> print(e)
2 + 3 * 4

View File

@ -29,7 +29,6 @@ class Token(object):
def random(cls):
raise NotImplemented
@classmethod
def set_render(cls, render):
""" Define default render function