summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/core/page.py
diff options
context:
space:
mode:
authorAlexSm <[email protected]>2024-11-14 18:02:48 +0100
committerGitHub <[email protected]>2024-11-14 18:02:48 +0100
commit42393178e3ca660b7b2da431bc4c768aadafe856 (patch)
tree846127355de5d4088b4eefcab801b15c1ec4e454 /contrib/python/ipython/py3/IPython/core/page.py
parentc0af8d60b18390f8ef7b3ff878b822c43da62a54 (diff)
parent51f34813686206b46686d84e96243def9f9da8df (diff)
Merge pull request #11568 from maximyurchuk/mergelibs-yurchuk-manual
Mergelibs yurchuk manual
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/page.py')
-rw-r--r--contrib/python/ipython/py3/IPython/core/page.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/page.py b/contrib/python/ipython/py3/IPython/core/page.py
index 31b314ec460..2eb6c399b36 100644
--- a/contrib/python/ipython/py3/IPython/core/page.py
+++ b/contrib/python/ipython/py3/IPython/core/page.py
@@ -125,7 +125,7 @@ def _detect_screen_size(screen_lines_def):
# print('***Screen size:',screen_lines_real,'lines x',
# screen_cols,'columns.') # dbg
-def pager_page(strng, start=0, screen_lines=0, pager_cmd=None):
+def pager_page(strng, start=0, screen_lines=0, pager_cmd=None) -> None:
"""Display a string, piping through a pager after a certain length.
strng can be a mime-bundle dict, supplying multiple representations,
@@ -239,7 +239,7 @@ def pager_page(strng, start=0, screen_lines=0, pager_cmd=None):
page_dumb(strng,screen_lines=screen_lines)
-def page(data, start=0, screen_lines=0, pager_cmd=None):
+def page(data, start: int = 0, screen_lines: int = 0, pager_cmd=None):
"""Display content in a pager, piping through a pager after a certain length.
data can be a mime-bundle dict, supplying multiple representations,