diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2009-10-05 21:25:03 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2009-10-05 21:25:03 (GMT) |
commit | f6e3d7d585837d3e037d149c2756c5bd43cffbac (patch) | |
tree | fa8558c5b654144af79ac1d1017bb29ebf896a41 | |
parent | f5852f59d9df1f2d86754c645f35a01da2f465cf (diff) | |
download | cpython-f6e3d7d585837d3e037d149c2756c5bd43cffbac.zip cpython-f6e3d7d585837d3e037d149c2756c5bd43cffbac.tar.gz cpython-f6e3d7d585837d3e037d149c2756c5bd43cffbac.tar.bz2 |
Document 'skip' parameter to constructor
-rw-r--r-- | Doc/library/bdb.rst | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst index a74e14d..4ee2f19 100644 --- a/Doc/library/bdb.rst +++ b/Doc/library/bdb.rst @@ -62,14 +62,22 @@ The :mod:`bdb` module also defines two classes: * The breakpoint hit count. -.. class:: Bdb() +.. class:: Bdb(skip=None) - The :class:`Bdb` acts as a generic Python debugger base class. + The :class:`Bdb` class acts as a generic Python debugger base class. This class takes care of the details of the trace facility; a derived class should implement user interaction. The standard debugger class (:class:`pdb.Pdb`) is an example. + The *skip* argument, if given, must be an iterable of glob-style + module name patterns. The debugger will not step into frames that + originate in a module that matches one of these patterns. Whether a + frame is considered to originate in a certain module is determined + by the ``__name__`` in the frame globals. + + .. versionadded:: 2.7 + The *skip* argument. The following methods of :class:`Bdb` normally don't need to be overridden. |