Guest User

Untitled

a guest
Jun 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. class foo:
  2. def __str__(self):
  3. return 'A'
  4. def __unicode__(self):
  5. return 'B'
  6.  
  7. '%s' % (unicode(), foo())
  8. '%s - %s' % (unicode(), foo())
  9. '%s - %s' % (unicode(), str(foo()))
Add Comment
Please, Sign In to add comment