[New-bugs-announce] [issue41510] Mentions of pdb.set_trace() in library/functions and library/sys uncorrectly states that set_trace expects no arguments
Maciej Olko
report at bugs.python.org
Sat Aug 8 20:14:35 EDT 2020
New submission from Maciej Olko <maciej.olko at gmail.com>:
An argument was added to pdb.set_trace() in Python 3.7 and those fragments of documentation should have been updated:
library/functions.rst:120
> By default, sys.breakpointhook() calls pdb.set_trace() expecting no arguments.
library/sys.rst
> For example, the default binding (e.g. pdb.set_trace()) expects no arguments, but you might bind it to a function that expects additional arguments (positional and/or keyword).
----------
assignee: docs at python
components: Documentation
messages: 375064
nosy: Maciej Olko, docs at python
priority: normal
severity: normal
status: open
title: Mentions of pdb.set_trace() in library/functions and library/sys uncorrectly states that set_trace expects no arguments
versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41510>
_______________________________________
More information about the New-bugs-announce
mailing list