Use 'i' and 'k' to better distinguish variables in an example (#713)
This commit is contained in:
parent
f2dabeae82
commit
cd2f886d63
|
@ -107,9 +107,9 @@ Please note that as with function and method signatures, ``default=[]`` will *no
|
||||||
... class C(object):
|
... class C(object):
|
||||||
... x = attr.ib(default=[])
|
... x = attr.ib(default=[])
|
||||||
>>> i = C()
|
>>> i = C()
|
||||||
>>> j = C()
|
>>> k = C()
|
||||||
>>> i.x.append(42)
|
>>> i.x.append(42)
|
||||||
>>> j.x
|
>>> k.x
|
||||||
[42]
|
[42]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue