We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f45e2ed commit 32d69abCopy full SHA for 32d69ab
src/diffpy/srfit/equation/visitors/printer.py
@@ -87,7 +87,7 @@ def onOperator(self, op):
87
"""Process an Operator node."""
88
# We have to deal with infix operators
89
if op.name != op.symbol and op.nin == 2:
90
- self._onInfix(op)
+ self._on_infix(op)
91
return self.output
92
93
self.output += str(op.name) + "("
@@ -111,7 +111,7 @@ def onEquation(self, eq):
111
eq.root.identify(self)
112
113
114
- def _onInfix(self, op):
+ def _on_infix(self, op):
115
"""Process infix operators."""
116
self.output += "("
117
op.args[0].identify(self)
0 commit comments