mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
A little more tweakage
This commit is contained in:
parent
d81d534aef
commit
2858b43613
1 changed files with 2 additions and 1 deletions
|
@ -282,7 +282,8 @@ class MainWindow:
|
|||
|
||||
def usage(msg='', code=1):
|
||||
print __doc__ % globals()
|
||||
print msg
|
||||
if msg:
|
||||
print msg
|
||||
sys.exit(code)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue