Skip to content

Commit a8608c1

Browse files
authored
intro/magic: Don't inherit from object in Python 3
Let's keep the code Python 3 only not to bother readers with Legacy Python
1 parent 8158c53 commit a8608c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lessons/intro/magic/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ Funguje podobně jako `@property`, jen se výsledek vypočítá pouze jednou a u
486486
Při dalším přístupu k atributu už se použije uložená hodnota.
487487

488488
```python
489-
class reify(object):
489+
class reify:
490490
def __init__(self, func):
491491
self.func = func
492492

0 commit comments

Comments
 (0)