mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
- Cursor is an Iterator of Any now, and .__iter__(..) and .__next__(..) have been changed / made explicit to reflect this. - .fetchall(..)/.fetchmany(..)/.fetchone(..) return (lists of) Anys instead of tuples. As per discussion in PR #663, the output of fetching values from the cursor can be customized with a custom assignment to .row_factory. Therefore the correct return type for fetching is Any and not tuple.