Forget about. I think in_transaction is only available in python3 but
not python2.
On 10/25/19, Peng Yu wrote:
> https://docs.python.org/3.9/library/sqlite3.html
>
> The manual says in_transaction is an attribute of sqlite3.Connection.
> But I don't see it. Why?
>
> """
> in_transaction
> True
https://docs.python.org/3.9/library/sqlite3.html
The manual says in_transaction is an attribute of sqlite3.Connection.
But I don't see it. Why?
"""
in_transaction
True if a transaction is active (there are uncommitted changes), False
otherwise. Read-only attribute.
"""
==> main.py <==
2 matches
Mail list logo