1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-25 04:24:23 +01:00

Merge pull request #168 from chrisguox/update-docs

Fixed example input error
This commit is contained in:
Satwik Kansal 2020-01-09 14:50:47 +05:30 committed by GitHub
commit 3e98cf1ceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
README.md vendored
View File

@ -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'
``` ```