Skip to content

Commit 658e088

Browse files
committed
Argparse
1 parent 573bd26 commit 658e088

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ else:
12731273
```
12741274

12751275
#### Usage:
1276-
```
1276+
```text
12771277
$ python3 prog.py --help
12781278
usage: test2.py [-h] [-v | -q] x y
12791279
@@ -1393,15 +1393,15 @@ from urllib.parse import quote, quote_plus, unquote, unquote_plus
13931393
```
13941394

13951395
### Encode
1396-
```text
1396+
```python
13971397
>>> quote("Can't be in URL!")
13981398
'Can%27t%20be%20in%20URL%21'
13991399
>>> quote_plus("Can't be in URL!")
14001400
'Can%27t+be+in+URL%21'
14011401
```
14021402

14031403
### Decode
1404-
```text
1404+
```python
14051405
>>> unquote('Can%27t+be+in+URL%21')
14061406
"Can't+be+in+URL!"
14071407
>>> unquote_plus('Can%27t+be+in+URL%21')

0 commit comments

Comments
 (0)