Commit b2b87fd
Fix continuation in get_field_measurements multi-site example
Same pre-existing bug shape as the one PR 265 already fixed in
get_daily: a list item on a continuation line without the doctest
"... " prefix, which makes doctest end the example mid-bracket
(SyntaxError: '[' was never closed). Found by exec'ing every example
in the four PR-touched functions against the live USGS API.
Reformatted to put each list element on its own properly-prefixed
continuation line, matching the style used elsewhere in this file.
While here, dropped the non-PEP8 spaces around the `=` of keyword
arguments.
After this fix, all 15 doctest examples in the four functions PR 265
touched pass when run with the package imported (15/15 across
get_daily, get_latest_continuous, get_latest_daily,
get_field_measurements; verified live against api.waterdata.usgs.gov).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5a82f2a commit b2b87fd
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
1515 | | - | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
1519 | 1521 | | |
1520 | 1522 | | |
1521 | 1523 | | |
| |||
0 commit comments