Skip to content

Commit 8e710bd

Browse files
committed
oops, fix mistake in dosctring
1 parent 6a9c1d7 commit 8e710bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpythonic/seq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def assign(**binding):
396396
(``setattr`` instead of ``e.set`` because the latter only rebinds, and here
397397
it is allowed to create new names in the environment.)
398398
399-
Whereas ``e.set(...)`` works from anywhere inside the ``do`` (including
399+
Whereas ``setattr(e, ...)`` works from anywhere inside the ``do`` (including
400400
any nested ``let`` constructs and similar), an ``assign`` works only at
401401
the top level of the ``do``.
402402
"""

0 commit comments

Comments
 (0)