From 1e60fc339a7a31054bb22028c2f97ed10273bee9 2019-08-21 17:30:09 From: Terry Davis <16829776+terrdavis@users.noreply.github.com> Date: 2019-08-21 17:30:09 Subject: [PATCH] Add docstring for core.debugger.Pdb --- diff --git a/IPython/core/debugger.py b/IPython/core/debugger.py index bde22bf..9762a4a 100644 --- a/IPython/core/debugger.py +++ b/IPython/core/debugger.py @@ -205,6 +205,18 @@ class Pdb(OldPdb): def __init__(self, color_scheme=None, completekey=None, stdin=None, stdout=None, context=5, **kwargs): + """Create a new IPython debugger. + + :param color_scheme: Deprecated, do not use. + :param completekey: Passed to pdb.Pdb. + :param stdin: Passed to pdb.Pdb. + :param stdout: Passed to pdb.Pdb. + :param context: Number of lines of source code context to show when + displaying stacktrace information. + :param kwargs: Passed to pdb.Pdb. + The possibilities are python version dependent, see the python + docs for more info. + """ # Parent constructor: try: