This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lisroach
Recipients docs@python, lisroach
Date 2020-10-14.17:09:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602695346.39.0.326290965149.issue42038@roundup.psfhosted.org>
In-reply-to
Content
Tracemalloc's format documentation (https://docs.python.org/3/library/tracemalloc.html#tracemalloc.Traceback.format) says first:

"Format the traceback as a list of lines with newlines."

then:

"Similar to the traceback.format_tb() function, except that format() does not include newlines."

The first statement is incorrect, tracemalloc does NOT add newlines to the list. I recommend just removing the "with newlines" in the first statement.
History
Date User Action Args
2020-10-14 17:09:06lisroachsetrecipients: + lisroach, docs@python
2020-10-14 17:09:06lisroachsetmessageid: <1602695346.39.0.326290965149.issue42038@roundup.psfhosted.org>
2020-10-14 17:09:06lisroachlinkissue42038 messages
2020-10-14 17:09:06lisroachcreate