File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ are always available. They are listed here in alphabetical order.
154
154
.. versionchanged :: 3.7
155
155
*x * is now a positional-only parameter.
156
156
157
- .. function :: breakpoint(*args, **kws)
157
+ .. function :: breakpoint(\ *args, \ **kws)
158
158
159
159
This function drops you into the debugger at the call site. Specifically,
160
160
it calls :func: `sys.breakpointhook `, passing ``args `` and ``kws `` straight
@@ -168,6 +168,11 @@ are always available. They are listed here in alphabetical order.
168
168
If :func: `sys.breakpointhook ` is not accessible, this function will
169
169
raise :exc: `RuntimeError `.
170
170
171
+ By default (if :func: `sys.breakpointhook ` has not been replaced), the
172
+ behavior of :func: `breakpoint ` can be changed with the
173
+ :envvar: `PYTHONBREAKPOINT `. See the docs for :func: `sys.breakpointhook ` for
174
+ details.
175
+
171
176
.. audit-event :: builtins.breakpoint breakpointhook breakpoint
172
177
173
178
.. versionadded :: 3.7
You can’t perform that action at this time.
0 commit comments