CustomSympyPrinter class

(Shortest import: from brian2.parsing.sympytools import CustomSympyPrinter)

class brian2.parsing.sympytools.CustomSympyPrinter(settings=None)[source]

Bases: StrPrinter

Printer that overrides the printing of some basic sympy objects. E.g. print “a and b” instead of “And(a, b)”.