Commit 96018a3
committed
fixed decorator example
In the function to wrap, we print a string. In the decorator we return a string.
Better to change them both to returning a string, since you're printing what it returns.1 parent 12b8cb2 commit 96018a3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments