We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd14b5f commit 3c23ae2Copy full SHA for 3c23ae2
README.md
@@ -1173,8 +1173,15 @@ UrlLib
1173
------
1174
### Translate special characters
1175
```python
1176
-from urllib.parse import quote_plus
1177
-<str> = quote_plus(<str>)
+>>> from urllib.parse import quote, quote_plus, unquote, unquote_plus
+>>> quote("Can't be in URL!")
1178
+'Can%27t%20be%20in%20URL%21'
1179
+>>> quote_plus("Can't be in URL!")
1180
+'Can%27t+be+in+URL%21
1181
+>>> unquote('Can%27t+be+in+URL%21')
1182
+"Can't+be+in+URL!"'
1183
+>>> unquote_plus('Can%27t+be+in+URL%21')
1184
+"Can't be in URL!"
1185
```
1186
1187
0 commit comments