summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/core/hooks.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/hooks.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/hooks.py')
-rw-r--r--contrib/python/ipython/py3/IPython/core/hooks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/hooks.py b/contrib/python/ipython/py3/IPython/core/hooks.py
index f73c5657638..484ebe459a7 100644
--- a/contrib/python/ipython/py3/IPython/core/hooks.py
+++ b/contrib/python/ipython/py3/IPython/core/hooks.py
@@ -19,7 +19,7 @@ example, you could use a startup file like this::
def calljed(self,filename, linenum):
"My editor hook calls the jed editor directly."
- print "Calling my own editor, jed ..."
+ print("Calling my own editor, jed ...")
if os.system('jed +%d %s' % (linenum,filename)) != 0:
raise TryNext()
@@ -111,7 +111,7 @@ class CommandChainDispatcher:
TryNext"""
last_exc = TryNext()
for prio,cmd in self.chain:
- #print "prio",prio,"cmd",cmd #dbg
+ # print("prio",prio,"cmd",cmd) # dbg
try:
return cmd(*args, **kw)
except TryNext as exc: