diff --git a/docs/init.rst b/docs/init.rst index 1698dc5c3..c65e545d4 100644 --- a/docs/init.rst +++ b/docs/init.rst @@ -107,9 +107,9 @@ Please note that as with function and method signatures, ``default=[]`` will *no ... class C(object): ... x = attr.ib(default=[]) >>> i = C() - >>> j = C() + >>> k = C() >>> i.x.append(42) - >>> j.x + >>> k.x [42]