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 roysmith
Recipients docs@python, roysmith
Date 2021-06-29.12:14:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624968855.9.0.632630406188.issue44534@roundup.psfhosted.org>
In-reply-to
Content
At https://docs.python.org/3.9/library/unittest.mock.html#unittest.mock.Mock, it says:

unsafe: By default if any attribute starts with assert or assret will raise an AttributeError.

That's not an English sentence.  I think what was intended was, "By default accessing an attribute which starts with assert or assret will raise an AttributeError."
History
Date User Action Args
2021-06-29 12:14:15roysmithsetrecipients: + roysmith, docs@python
2021-06-29 12:14:15roysmithsetmessageid: <1624968855.9.0.632630406188.issue44534@roundup.psfhosted.org>
2021-06-29 12:14:15roysmithlinkissue44534 messages
2021-06-29 12:14:15roysmithcreate