Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. >>> foo.__nonzero__ = lambda x: True
  2. Traceback (most recent call last):
  3. File "<stdin>", line 1, in <module>
  4. AttributeError: 'str' object has no attribute '__nonzero__'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement