mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2024-09-11 20:17:08 +03:00
fix: fix example input error
This commit is contained in:
parent
0d65c00bb6
commit
43679ebd1e
3
README.md
vendored
3
README.md
vendored
@ -3097,11 +3097,12 @@ class A(object):
|
|||||||
|
|
||||||
**Output:**
|
**Output:**
|
||||||
```py
|
```py
|
||||||
|
>>> A().__variable
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
File "<stdin>", line 1, in <module>
|
File "<stdin>", line 1, in <module>
|
||||||
AttributeError: 'A' object has no attribute '__variable'
|
AttributeError: 'A' object has no attribute '__variable'
|
||||||
|
|
||||||
>>> >>> A().some_func()
|
>>> A().some_func()
|
||||||
'Some value'
|
'Some value'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user