Use 'i' and 'k' to better distinguish variables in an example (#713)

This commit is contained in:
Alex Chan 2020-11-04 10:52:42 +00:00 committed by GitHub
parent f2dabeae82
commit cd2f886d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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]