Skip to content

Commit ecce4af

Browse files
author
Chen Shijiang
committed
fix typo
1 parent 1d431ac commit ecce4af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c09/p04_define_decorator_that_takes_arguments.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
解决方案
1212
----------
1313
我们用一个例子详细阐述下接受参数的处理过程。
14-
假设你想写一个装饰器,给函数添加日志功能,当时允许用户指定日志的级别和其他的选项
14+
假设你想写一个装饰器,给函数添加日志功能,同时允许用户指定日志的级别和其他的选项
1515
下面是这个装饰器的定义和使用示例:
1616

1717
.. code-block:: python

0 commit comments

Comments
 (0)