mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03: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