[issue33651] Add get() method to sqlite3.Row class

Serhiy Storchaka report at bugs.python.org
Sat May 26 03:45:40 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I have the same question. Do you have a concrete example where this can be useful?

sqlite3.Row is not a mapping. It is a sequence.

>>> import sqlite3
>>> import collections.abc
>>> issubclass(sqlite3.Row, collections.abc.Sequence)
True

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33651>
_______________________________________


More information about the Python-bugs-list mailing list