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/page.py | |
| parent | 05cc35d98bf2bd929c00b02fcd98fd65a1b676ad (diff) | |
| parent | d68a678bf36d213cb890d8bdfbdf34df6a40f8c1 (diff) | |
Merge branch 'rightlib' into mergelibs-240618-0830
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/page.py')
| -rw-r--r-- | contrib/python/ipython/py3/IPython/core/page.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/page.py b/contrib/python/ipython/py3/IPython/core/page.py index d3e6a9eef50..31b314ec460 100644 --- a/contrib/python/ipython/py3/IPython/core/page.py +++ b/contrib/python/ipython/py3/IPython/core/page.py @@ -122,8 +122,8 @@ def _detect_screen_size(screen_lines_def): termios.tcsetattr(sys.stdout,termios.TCSANOW,term_flags) # Now we have what we needed: the screen size in rows/columns return screen_lines_real - #print '***Screen size:',screen_lines_real,'lines x',\ - #screen_cols,'columns.' # dbg + # print('***Screen size:',screen_lines_real,'lines x', + # screen_cols,'columns.') # dbg def pager_page(strng, start=0, screen_lines=0, pager_cmd=None): """Display a string, piping through a pager after a certain length. @@ -179,9 +179,9 @@ def pager_page(strng, start=0, screen_lines=0, pager_cmd=None): print(str_toprint) return - #print 'numlines',numlines,'screenlines',screen_lines # dbg + # print('numlines',numlines,'screenlines',screen_lines) # dbg if numlines <= screen_lines : - #print '*** normal print' # dbg + # print('*** normal print') # dbg print(str_toprint) else: # Try to open pager and default to internal one if that fails. |
