Skip to content

Commit cb0c29f

Browse files
authored
Merge pull request yidao620c#154 from kyan001/patch-1
'nolocal' -> 'nonlocal'
2 parents 37223b3 + b55e0a3 commit cb0c29f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c09/p05_define_decorator_with_user_adjustable_attributes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
----------
1111
解决方案
1212
----------
13-
引入一个访问函数,使用 ``nolocal`` 来修改内部变量。
13+
引入一个访问函数,使用 ``nonlocal`` 来修改内部变量。
1414
然后这个访问函数被作为一个属性赋值给包装函数。
1515

1616
.. code-block:: python

0 commit comments

Comments
 (0)