Guest User

Untitled

a guest
Oct 25th, 2011
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. class debugLogger:
  2. def write(self, stng):
  3. x = 1
  4. sys.stdout = debugLogger()
  5.  
  6.  
  7.  
  8. >>> class debugLogger:
  9. ... def write(self, stng):
  10. ... x = 1
  11. ... sys.stdout = debugLogger()
  12. File "<stdin>", line 4
  13. sys.stdout = debugLogger()
  14. ^
  15. SyntaxError: invalid syntax
  16.  
  17.  
Advertisement
Add Comment
Please, Sign In to add comment