From 969150baeed3c4ec7245ab47db21ec1c83510222 Mon Sep 17 00:00:00 2001 From: terry Date: Sun, 30 Jun 2019 18:42:51 +0800 Subject: [PATCH] Update p12_using_decorators_to_patch_class_definitions.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This word '系' is surplus is here,so delete it. --- source/c09/p12_using_decorators_to_patch_class_definitions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/c09/p12_using_decorators_to_patch_class_definitions.rst b/source/c09/p12_using_decorators_to_patch_class_definitions.rst index dc5d238b..3569835d 100644 --- a/source/c09/p12_using_decorators_to_patch_class_definitions.rst +++ b/source/c09/p12_using_decorators_to_patch_class_definitions.rst @@ -72,7 +72,7 @@ 某种程度上来讲,类装饰器方案就显得更加直观,并且它不会引入新的继承体系。它的运行速度也更快一些, 因为他并不依赖 ``super()`` 函数。 -如果你系想在一个类上面使用多个类装饰器,那么就需要注意下顺序问题。 +如果你想在一个类上面使用多个类装饰器,那么就需要注意下顺序问题。 例如,一个装饰器A会将其装饰的方法完整替换成另一种实现, 而另一个装饰器B只是简单的在其装饰的方法中添加点额外逻辑。 那么这时候装饰器A就需要放在装饰器B的前面。