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/hooks.py | |
| parent | 05cc35d98bf2bd929c00b02fcd98fd65a1b676ad (diff) | |
| parent | d68a678bf36d213cb890d8bdfbdf34df6a40f8c1 (diff) | |
Merge branch 'rightlib' into mergelibs-240618-0830
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/hooks.py')
| -rw-r--r-- | contrib/python/ipython/py3/IPython/core/hooks.py | 4 |
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: |
