You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just input following codes:
def demo(bisect_fn):
for needle in reversed(NEEDLES):
position = bisect_fn(HAYSTACK, needle)
offset=position*' '
print(ROW_FMT.format(needle,position,offset))
Traceback
File "/home/ddd/anaconda3/lib/python3.8/site-packages/spyder/plugins/editor/extensions/snippets.py", line 229, in _on_key_pressedself._process_text(text)
File "/home/dddd/anaconda3/lib/python3.8/site-packages/spyder/plugins/editor/extensions/snippets.py", line 52, in wrapperreturn f(self, *args, **kwargs)
File "/home/dddd/anaconda3/lib/python3.8/site-packages/spyder/plugins/editor/extensions/snippets.py", line 237, in _process_textself.insert_text(text, line, column)
File "/home/ddd/anaconda3/lib/python3.8/site-packages/spyder/plugins/editor/extensions/snippets.py", line 379, in insert_text
position = ((x, y), (x, y +1))
TypeError: can only concatenate tuple (not "int") to tuple
Description
What steps will reproduce the problem?
just input following codes:
def demo(bisect_fn):
for needle in reversed(NEEDLES):
position = bisect_fn(HAYSTACK, needle)
offset=position*' '
print(ROW_FMT.format(needle,position,offset))
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: