[docs] A typo in the unittest.mock docs

Berker Peksağ berker.peksag at gmail.com
Mon Apr 11 05:23:42 EDT 2016


On Mon, Apr 11, 2016 at 11:49 AM, Alex <nevimov at gmail.com> wrote:
> https://docs.python.org/3/library/unittest.mock.html#magic-mock
> ...
>
>> Methods and their defaults:
>> ...
>> __len__:1
>> ...
>
> Should be __len__:0

Hi Alex,

Good catch, thanks for the report. Fixed in
https://hg.python.org/cpython/rev/83f267ffb862

--Berker


More information about the docs mailing list