mirror of https://github.com/python/cpython
A little more tweakage
This commit is contained in:
parent
d81d534aef
commit
2858b43613
|
@ -282,6 +282,7 @@ class MainWindow:
|
|||
|
||||
def usage(msg='', code=1):
|
||||
print __doc__ % globals()
|
||||
if msg:
|
||||
print msg
|
||||
sys.exit(code)
|
||||
|
||||
|
|
Loading…
Reference in New Issue