[New-bugs-announce] [issue44534] unittest.mock.Mock.unsafe doc is garbled
Roy Smith
report at bugs.python.org
Tue Jun 29 08:14:15 EDT 2021
New submission from Roy Smith <roy at panix.com>:
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."
----------
assignee: docs at python
components: Documentation
messages: 396719
nosy: docs at python, roysmith
priority: normal
severity: normal
status: open
title: unittest.mock.Mock.unsafe doc is garbled
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44534>
_______________________________________
More information about the New-bugs-announce
mailing list