Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bc0b9fc

Browse files
committedApr 9, 2025·
Fix spelling in sw design 1.
1 parent 4f0d95f commit bc0b9fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎sections/software-design-1.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Note how we passed the `some_function` as a variable name without the parenthese
9292

9393
### Decorators
9494

95-
This approach to function composition is exactly what is used by [Python decorator](https://docs.python.org/3/glossary.html#term-decorator) functions. A `decorator` in python is a function that returns a function, thereby making it easy to wrap the one function inside another. To modify our above exmaple into a decorator, we can simply return the `wrapper` function:
95+
This approach to function composition is exactly what is used by [Python decorator](https://docs.python.org/3/glossary.html#term-decorator) functions. A `decorator` in python is a function that returns a function, thereby making it easy to wrap the one function inside another. To modify our above example into a decorator, we can simply return the `wrapper` function:
9696

9797
```{python}
9898
def my_decorator(func_to_run):

0 commit comments

Comments
 (0)
Please sign in to comment.