mirror of
https://github.com/satwikkansal/wtfpython
synced 2025-07-03 20:08:00 +02:00
Merge pull request #168 from chrisguox/update-docs
Fixed example input error
This commit is contained in:
commit
3e98cf1ceb
1 changed files with 2 additions and 1 deletions
3
README.md
vendored
3
README.md
vendored
|
@ -3097,11 +3097,12 @@ class A(object):
|
|||
|
||||
**Output:**
|
||||
```py
|
||||
>>> A().__variable
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in <module>
|
||||
AttributeError: 'A' object has no attribute '__variable'
|
||||
|
||||
>>> >>> A().some_func()
|
||||
>>> A().some_func()
|
||||
'Some value'
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue