Commit 63dd638
committed
gh-149050: Fix return type of ConfigParser.items() in documentation
When called without a section argument, ConfigParser.items() delegates
to dict.items() and returns a collections.abc.ItemsView, not a list.
The docs previously described both overloads as returning a list.1 parent 517d3d2 commit 63dd638
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1214 | 1214 | | |
1215 | 1215 | | |
1216 | 1216 | | |
1217 | | - | |
| 1217 | + | |
| 1218 | + | |
1218 | 1219 | | |
1219 | 1220 | | |
1220 | 1221 | | |
| |||
0 commit comments