diff --git a/lessons/intro/magic/index.md b/lessons/intro/magic/index.md index 8b9fbaed6a..effcde0561 100644 --- a/lessons/intro/magic/index.md +++ b/lessons/intro/magic/index.md @@ -486,7 +486,7 @@ Funguje podobně jako `@property`, jen se výsledek vypočítá pouze jednou a u Při dalším přístupu k atributu už se použije uložená hodnota. ```python -class reify(object): +class reify: def __init__(self, func): self.func = func