We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fb50a3 commit b9b5021Copy full SHA for b9b5021
docs/writing/structure.rst
@@ -281,7 +281,7 @@ Decorators
281
----------
282
283
The Python language provides a simple yet powerful syntax called 'decorators'.
284
-A decorator is a function or a class that wraps (or decorate) a function
+A decorator is a function or a class that wraps (or decorates) a function
285
or a method. The 'decorated' function or method will replace the original
286
'undecorated' function or method. Because functions are first-class objects
287
in Python, it can be done 'manually', but using the @decorator syntax is
0 commit comments