From 23addef86d4bd3b00975d203d05e89fafbd82e6c Mon Sep 17 00:00:00 2001 From: ckclark Date: Wed, 17 Jul 2019 13:10:32 +0800 Subject: [PATCH] Remove unused "NULL" from `__all__` in `__init__.py` (#369) Since the symbol "NULL" is removed in 819688b6, it should be also removed from `__all__`. Fix issue #368. --- MySQLdb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MySQLdb/__init__.py b/MySQLdb/__init__.py index 92b5d26..d4c7fa5 100644 --- a/MySQLdb/__init__.py +++ b/MySQLdb/__init__.py @@ -89,7 +89,7 @@ __all__ = [ 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE', 'Date', 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks', 'TimestampFromTicks', 'DataError', 'DatabaseError', 'Error', 'FIELD_TYPE', 'IntegrityError', 'InterfaceError', 'InternalError', - 'MySQLError', 'NULL', 'NUMBER', 'NotSupportedError', 'DBAPISet', + 'MySQLError', 'NUMBER', 'NotSupportedError', 'DBAPISet', 'OperationalError', 'ProgrammingError', 'ROWID', 'STRING', 'TIME', 'TIMESTAMP', 'Warning', 'apilevel', 'connect', 'connections', 'constants', 'converters', 'cursors', 'debug', 'escape',