diff options
| author | Alexander Smirnov <[email protected]> | 2024-06-18 08:31:45 +0000 |
|---|---|---|
| committer | Alexander Smirnov <[email protected]> | 2024-06-18 08:31:45 +0000 |
| commit | 8da3a80eb37bb357a4a994464851104565fd9490 (patch) | |
| tree | 021aa0770c7bb74d27d8731629ce6f5abd1e84e9 /contrib/python/ipython/py3/IPython/core/splitinput.py | |
| parent | 05cc35d98bf2bd929c00b02fcd98fd65a1b676ad (diff) | |
| parent | d68a678bf36d213cb890d8bdfbdf34df6a40f8c1 (diff) | |
Merge branch 'rightlib' into mergelibs-240618-0830
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/splitinput.py')
| -rw-r--r-- | contrib/python/ipython/py3/IPython/core/splitinput.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/splitinput.py b/contrib/python/ipython/py3/IPython/core/splitinput.py index 5bc3e325421..0cd70ec9100 100644 --- a/contrib/python/ipython/py3/IPython/core/splitinput.py +++ b/contrib/python/ipython/py3/IPython/core/splitinput.py @@ -63,19 +63,19 @@ def split_user_input(line, pattern=None): pattern = line_split match = pattern.match(line) if not match: - # print "match failed for line '%s'" % line + # print("match failed for line '%s'" % line) try: ifun, the_rest = line.split(None,1) except ValueError: - # print "split failed for line '%s'" % line + # print("split failed for line '%s'" % line) ifun, the_rest = line, u'' pre = re.match(r'^(\s*)(.*)',line).groups()[0] esc = "" else: pre, esc, ifun, the_rest = match.groups() - #print 'line:<%s>' % line # dbg - #print 'pre <%s> ifun <%s> rest <%s>' % (pre,ifun.strip(),the_rest) # dbg + # print('line:<%s>' % line) # dbg + # print('pre <%s> ifun <%s> rest <%s>' % (pre,ifun.strip(),the_rest)) # dbg return pre, esc or '', ifun.strip(), the_rest.lstrip() |
