Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. def dummyFunction(context, data):
  2. ...
  3. doing something
  4. ...
  5. return something
  6.  
  7. def dummyFunction(context, data):
  8. import pdb; pdb.set_trace()
  9.  
  10. if 'interesting' in data.keys():
  11. import pdb; pdb.set_trace()
  12.  
  13. class B(object):
  14. a = 0
  15. b = 1
  16.  
  17. b = B()
  18. dir(b)
  19.  
  20. ['__class__',
  21. '__delattr__',
  22. '__dict__',
  23. '__doc__',
  24. '__format__',
  25. '__getattribute__',
  26. '__hash__',
  27. '__init__',
  28. '__module__',
  29. '__new__',
  30. '__reduce__',
  31. '__reduce_ex__',
  32. '__repr__',
  33. '__setattr__',
  34. '__sizeof__',
  35. '__str__',
  36. '__subclasshook__',
  37. '__weakref__',
  38. 'a',
  39. 'b']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement