File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -938,10 +938,10 @@ class Xlator(dict):
938
938
"Perl" : "Python",
939
939
}
940
940
941
- print multiple_replace(adict, text)
941
+ print( multiple_replace(adict, text) )
942
942
943
943
xlat = Xlator(adict)
944
- print xlat.xlat(text)
944
+ print( xlat.xlat(text) )
945
945
"""
946
946
947
947
def _make_regex (self ):
Original file line number Diff line number Diff line change @@ -1375,7 +1375,7 @@ class SpanSelector(_SelectorWidget):
1375
1375
ax.plot(x,y)
1376
1376
1377
1377
def onselect(vmin, vmax):
1378
- print vmin, vmax
1378
+ print( vmin, vmax)
1379
1379
span = SpanSelector(ax, onselect, 'horizontal')
1380
1380
1381
1381
*onmove_callback* is an optional callback that is called on mouse
@@ -2146,7 +2146,7 @@ class LassoSelector(_SelectorWidget):
2146
2146
ax.plot(x,y)
2147
2147
2148
2148
def onselect(verts):
2149
- print verts
2149
+ print( verts)
2150
2150
lasso = LassoSelector(ax, onselect)
2151
2151
2152
2152
*button* is a list of integers indicating which mouse buttons should
You can’t perform that action at this time.
0 commit comments