mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Use the `| Any` trick instead, since it seems that in a lot of code the value can be predicted to be non-`None` (if a query has been executed previously, I think). The docs don't mention the possibility of this being `None`, so it seems likely that a lot of code doesn't check for it: https://docs.python.org/3/library/sqlite3.html#sqlite3.Cursor.description