Move _mysql and _mysql_exceptions into MySQLdb/ (#293)

This commit is contained in:
INADA Naoki
2018-12-04 20:19:04 +09:00
committed by GitHub
parent bd62c5d5d7
commit 833816ee87
14 changed files with 25 additions and 24 deletions

View File

@ -7,14 +7,13 @@ override Connection.default_cursor with a non-standard Cursor class.
import re
import sys
from MySQLdb import cursors
from MySQLdb import cursors, _mysql
from MySQLdb.compat import unicode, PY2
from _mysql_exceptions import (
from MySQLdb._mysql_exceptions import (
Warning, Error, InterfaceError, DataError,
DatabaseError, OperationalError, IntegrityError, InternalError,
NotSupportedError, ProgrammingError,
)
import _mysql
if not PY2: