mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Prevent deprecation warning
This commit is contained in:
parent
a2860e8b51
commit
e7d36fe0a6
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ def main(argv=None):
|
||||||
|
|
||||||
for opt, val in opts:
|
for opt, val in opts:
|
||||||
if opt == "--help":
|
if opt == "--help":
|
||||||
usage(sys.stdout)
|
_usage(sys.stdout)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if opt == "--version":
|
if opt == "--version":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue