Skip to content

Commit c4ae3c6

Browse files
committed
Argparse
1 parent 94fa9d0 commit c4ae3c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,8 +1400,8 @@ Libraries
14001400
Argparse
14011401
--------
14021402
```python
1403-
import argparse
1404-
parser = argparse.ArgumentParser(description='calculate X to the power of Y')
1403+
from argparse import ArgumentParser
1404+
parser = ArgumentParser(description='calculate X to the power of Y')
14051405
group = parser.add_mutually_exclusive_group()
14061406
group.add_argument('-v', '--verbose', action='store_true')
14071407
group.add_argument('-q', '--quiet', action='store_true')

0 commit comments

Comments
 (0)