Commit c5cfcdf
authored
Changes in the urllib.parse module:
* Add option missing_as_none in urlparse(), urlsplit() and urldefrag(). If
it is true, represent not defined components as None instead of an
empty string.
* Add option keep_empty in urlunparse() and urlunsplit(). If it is
true, keep empty non-None components in the resulting string.
1 parent 67535ab commit c5cfcdf
File tree
6 files changed
+755
-323
lines changed- Doc
- library
- whatsnew
- Lib
- test
- urllib
- Mac/Resources
- Misc/NEWS.d/next/Library
6 files changed
+755
-323
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
839 | 851 | | |
840 | 852 | | |
841 | 853 | | |
| |||
0 commit comments