Show More
@@ -2553,7 +2553,7 b' class hooks(object):' | |||||
2553 | def debugstacktrace(msg='stacktrace', skip=0, f=sys.stderr, otherf=sys.stdout): |
|
2553 | def debugstacktrace(msg='stacktrace', skip=0, f=sys.stderr, otherf=sys.stdout): | |
2554 | '''Writes a message to f (stderr) with a nicely formatted stacktrace. |
|
2554 | '''Writes a message to f (stderr) with a nicely formatted stacktrace. | |
2555 | Skips the 'skip' last entries. By default it will flush stdout first. |
|
2555 | Skips the 'skip' last entries. By default it will flush stdout first. | |
2556 |
It can be used everywhere and |
|
2556 | It can be used everywhere and intentionally does not require an ui object. | |
2557 | Not be used in production code but very convenient while developing. |
|
2557 | Not be used in production code but very convenient while developing. | |
2558 | ''' |
|
2558 | ''' | |
2559 | if otherf: |
|
2559 | if otherf: |
General Comments 0
You need to be logged in to leave comments.
Login now