Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python
- Python 3.2.2 (default, Sep 18 2011, 05:30:47)
- [GCC 4.4.5] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import sys
- >>> class debugLogger:
- ... def write(self, stng):
- ... pass
- ... sys.stdout = debugLogger()
- File "<stdin>", line 4
- sys.stdout = debugLogger()
- ^
- SyntaxError: invalid syntax
- >>>
Advertisement
Add Comment
Please, Sign In to add comment