Update ex7_1.md
Fixed a typo: 6.6 -> 6.5
This commit is contained in:
@@ -62,7 +62,7 @@ Calling sub
|
|||||||
|
|
||||||
## (b) A Real Decorator
|
## (b) A Real Decorator
|
||||||
|
|
||||||
In [Exercise 6.6](ex6_6.md), you created a callable class `ValidatedFunction` that
|
In [Exercise 6.5](ex6_5.md), you created a callable class `ValidatedFunction` that
|
||||||
enforced type annotations. Rewrite this class as a decorator function called `validated`.
|
enforced type annotations. Rewrite this class as a decorator function called `validated`.
|
||||||
It should allow you to write code like this:
|
It should allow you to write code like this:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user