diff options
| author | AlexSm <[email protected]> | 2024-06-18 16:09:09 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-18 16:09:09 +0200 |
| commit | ae6be33d4462d1c1f93d7f99a9775167108fb09a (patch) | |
| tree | a9a2819f51548e8e55c59c48b74880f4e3f0e978 /contrib/python/ipython/py3/IPython/terminal | |
| parent | 23e9c2f910ca634005304f9f8085adaf5b963463 (diff) | |
| parent | 5f058ae362f1af85ec0d816cc96eaca1c1750dab (diff) | |
Merge pull request #5661 from ydb-platform/mergelibs-240618-0830
Library import 240618-0830
Diffstat (limited to 'contrib/python/ipython/py3/IPython/terminal')
4 files changed, 7 insertions, 7 deletions
diff --git a/contrib/python/ipython/py3/IPython/terminal/ipapp.py b/contrib/python/ipython/py3/IPython/terminal/ipapp.py index 55ff1da3918..fff6bdf9d21 100644 --- a/contrib/python/ipython/py3/IPython/terminal/ipapp.py +++ b/contrib/python/ipython/py3/IPython/terminal/ipapp.py @@ -270,7 +270,7 @@ class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp): if self.subapp is not None: # don't bother initializing further, starting subapp return - # print self.extra_args + # print(self.extra_args) if self.extra_args and not self.something_to_run: self.file_to_run = self.extra_args[0] self.init_path() diff --git a/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/glut.py b/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/glut.py index 835aadfc971..63d020b314f 100644 --- a/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/glut.py +++ b/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/glut.py @@ -127,11 +127,11 @@ def inputhook(context): # 0.05 0.5% used_time = clock() - t if used_time > 10.0: - # print 'Sleep for 1 s' # dbg + # print('Sleep for 1 s') # dbg time.sleep(1.0) elif used_time > 0.1: # Few GUI events coming in, so we can sleep longer - # print 'Sleep for 0.05 s' # dbg + # print('Sleep for 0.05 s') # dbg time.sleep(0.05) else: # Many GUI events coming in, so sleep only very little diff --git a/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/pyglet.py b/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/pyglet.py index 49ec86d2237..43b2208d7ea 100644 --- a/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/pyglet.py +++ b/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/pyglet.py @@ -53,11 +53,11 @@ def inputhook(context): # 0.05 0.5% used_time = clock() - t if used_time > 10.0: - # print 'Sleep for 1 s' # dbg + # print('Sleep for 1 s') # dbg time.sleep(1.0) elif used_time > 0.1: # Few GUI events coming in, so we can sleep longer - # print 'Sleep for 0.05 s' # dbg + # print('Sleep for 0.05 s') # dbg time.sleep(0.05) else: # Many GUI events coming in, so sleep only very little diff --git a/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/wx.py b/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/wx.py index a0f4442c771..8666a3621f9 100644 --- a/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/wx.py +++ b/contrib/python/ipython/py3/IPython/terminal/pt_inputhooks/wx.py @@ -137,11 +137,11 @@ def inputhook_wx3(context): # 0.05 0.5% used_time = clock() - t if used_time > 10.0: - # print 'Sleep for 1 s' # dbg + # print('Sleep for 1 s') # dbg time.sleep(1.0) elif used_time > 0.1: # Few GUI events coming in, so we can sleep longer - # print 'Sleep for 0.05 s' # dbg + # print('Sleep for 0.05 s') # dbg time.sleep(0.05) else: # Many GUI events coming in, so sleep only very little |
