Elaborate on breakpoint() signature.

This commit is contained in:
Barry Warsaw 2017-09-07 11:38:37 -07:00
parent b2c6a25160
commit 41000e4fcf
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,8 @@ The signature of the built-in is ``breakpoint(*args, **kws)``. The positional
and keyword arguments are passed straight through to ``sys.breakpointhook()``
and the signatures must match or you will get a ``TypeError``. The return
from ``sys.breakpointhook()`` is passed back up to, and returned from
``breakpoint()``.
``breakpoint()``. Since ``sys.breakpointhook()`` by default calls
``pdb.set_trace()`` by default it accepts no arguments.
Open issues