qnet.printing.sreprprinter module¶
Provides printers for a full-structured representation
Summary¶
Classes:
IndentedSReprPrinter |
Printer for rendering an expression in such a way that the resulting string can be evaluated in an appropriate context to re-instantiate an identical object, using nested indentation (implementing srepr(expr, indented=True) |
IndentedSympyReprPrinter |
Indented repr printer for Sympy objects |
QnetSReprPrinter |
Printer for a string (ASCII) representation. |
Reference¶
-
class
qnet.printing.sreprprinter.
QnetSReprPrinter
(cache=None, settings=None)[source]¶ Bases:
qnet.printing.base.QnetBasePrinter
Printer for a string (ASCII) representation.
-
sympy_printer_cls
¶ alias of
qnet.printing.sympy.SympyReprPrinter
-
-
class
qnet.printing.sreprprinter.
IndentedSympyReprPrinter
(settings=None)[source]¶ Bases:
qnet.printing.sympy.SympyReprPrinter
Indented repr printer for Sympy objects
-
class
qnet.printing.sreprprinter.
IndentedSReprPrinter
(cache=None, settings=None)[source]¶ Bases:
qnet.printing.base.QnetBasePrinter
Printer for rendering an expression in such a way that the resulting string can be evaluated in an appropriate context to re-instantiate an identical object, using nested indentation (implementing
srepr(expr, indented=True)
-
sympy_printer_cls
¶ alias of
IndentedSympyReprPrinter
-