Commit c4aeca7
committed
gh-150132: Document the no-argument overload of ConfigParser.items()
The docstring of ConfigParser.items() only described the call with a
section argument (returning a list of (name, value) tuples). The
no-argument call delegates to MutableMapping.items() and returns an
ItemsView of (section_name, section_proxy) pairs, which was previously
undocumented. Reword the docstring so that both overloads are
described and their return types match the actual behaviour.1 parent 1f3c267 commit c4aeca7
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
888 | | - | |
| 888 | + | |
889 | 889 | | |
890 | | - | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | | - | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
895 | 899 | | |
896 | 900 | | |
897 | 901 | | |
| |||
0 commit comments