python
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| python [2026/09/05 03:40] – carl | python [2026/09/09 19:44] (current) – carl | ||
|---|---|---|---|
| Line 71: | Line 71: | ||
| ==== Misc. APIs ==== | ==== Misc. APIs ==== | ||
| List and Tuple types have an '' | List and Tuple types have an '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | >>> | ||
| + | >>> | ||
| + | >>> | ||
| + | Traceback (most recent call last): | ||
| + | File "< | ||
| + | TypeError: ' | ||
| + | |||
| + | |||
| + | '' | ||
| + | |||
| + | The '' | ||
| + | |||
| + | >>> | ||
| + | ... | ||
| + | 1 9 | ||
| + | 2 8 | ||
| + | 3 7 | ||
| + | |||
| + | I would have expected this to return 2 total elements instead: | ||
| + | |||
| + | ... | ||
| + | 1 8 | ||
| + | 2 7 | ||
| + | |||
| + | |||
python.1788579616.txt.gz · Last modified: by carl
