New submission from Roy Smith <r...@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@python
components: Documentation
messages: 396719
nosy: docs@python, roysmith
priority: normal
severity: normal
status: open
title: unittest.mock.Mock.unsafe doc is garbled
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44534>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to