summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/core/page.py
diff options
context:
space:
mode:
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,