[New-bugs-announce] [issue42624] sqlite3 package document mistake

LIU Qingyuan report at bugs.python.org
Sat Dec 12 03:47:49 EST 2020

New submission from LIU Qingyuan <possnioo2 at gmail.com>:

In the document about sqlite3 package, it was suggested that when users are trying to create a table already exists, sqlite3.ProgrammingError is going to be thrown. However, the actual exception thrown is sqlite3.OperationalError, which is inconsistent with the document.

Doc: https://docs.python.org/3/library/sqlite3.html#exceptions

assignee: docs at python
components: Documentation
messages: 382904
nosy: docs at python, seeker-Liu
priority: normal
severity: normal
status: open
title: sqlite3 package document mistake
type: behavior
versions: Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list