summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/core/splitinput.py
diff options
context:
space:
mode:
authorAlexSm <[email protected]>2024-06-18 16:09:09 +0200
committerGitHub <[email protected]>2024-06-18 16:09:09 +0200
commitae6be33d4462d1c1f93d7f99a9775167108fb09a (patch)
treea9a2819f51548e8e55c59c48b74880f4e3f0e978 /contrib/python/ipython/py3/IPython/core/splitinput.py
parent23e9c2f910ca634005304f9f8085adaf5b963463 (diff)
parent5f058ae362f1af85ec0d816cc96eaca1c1750dab (diff)
Merge pull request #5661 from ydb-platform/mergelibs-240618-0830
Library import 240618-0830
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/splitinput.py')
-rw-r--r--contrib/python/ipython/py3/IPython/core/splitinput.py8
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()