Skip to content

Commit 44067b9

Browse files
fix: add closing code block for consistency in decorators documentation
1 parent 791332a commit 44067b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/blog/python-decorators-for-beginners.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ def slow_function():
7474
result = slow_function()
7575
# slow_function took 1.0041 seconds
7676
print(result) # Done!
77+
```
7778

7879
See the <router-link to="/cheatsheet/decorators">Decorators (cheatsheet)</router-link> for additional decorator templates and common patterns.
79-
```
80+
8081

8182
Notice how we use `*args` and `**kwargs` (see <router-link to="/cheatsheet/args-and-kwargs">Args & kwargs</router-link>)? This makes our decorator work with any function, regardless of how many arguments it takes.
8283

0 commit comments

Comments
 (0)