File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,11 @@ def foo(bar):
106
106
107
107
## Class based decorators
108
108
109
- To decorate a class methos , you must define the decorator within the class. When
110
- only the implicit argument ` self ` is passed to the method, without any other
109
+ To decorate a class method , you must define the decorator within the class. When
110
+ only the implicit argument ` self ` is passed to the method, without any explicit
111
111
additional arguments, you must make a separate decorator for only those methods
112
- without any additional arguments. An example of this is when you want to catch
113
- and print exceptions in a certain way.
112
+ without any additional arguments. An example of this, shown below, is when you
113
+ want to catch and print exceptions in a certain way.
114
114
115
115
``` python
116
116
class DecorateMyMethod :
You can’t perform that action at this time.
0 commit comments