From fc6d290de2af9aa17a52bc3136120d31a9cf920e 2016-06-07 16:06:02 From: klonuo Date: 2016-06-07 16:06:02 Subject: [PATCH] Fix argument type in docsting --- diff --git a/IPython/lib/latextools.py b/IPython/lib/latextools.py index c0d646b..c3230dd 100644 --- a/IPython/lib/latextools.py +++ b/IPython/lib/latextools.py @@ -64,7 +64,7 @@ def latex_to_png(s, encode=False, backend=None, wrap=False): Parameters ---------- - s : text + s : str The raw string containing valid inline LaTeX. encode : bool, optional Should the PNG data base64 encoded to make it JSON'able. diff --git a/IPython/utils/tokenutil.py b/IPython/utils/tokenutil.py index ab42d79..f52d3b7 100644 --- a/IPython/utils/tokenutil.py +++ b/IPython/utils/tokenutil.py @@ -31,7 +31,7 @@ def line_at_cursor(cell, cursor_pos=0): Parameters ---------- - cell: text + cell: str multiline block of text cursor_pos: integer the cursor position