Skip to content

Commit 96b7583

Browse files
committed
Fix circular import
1 parent 7f44cd7 commit 96b7583

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pymysql/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
from .constants import FIELD_TYPE
2727
from .converters import escape_dict, escape_sequence, escape_string
28-
from . import connections
2928
from .err import (
3029
Warning,
3130
Error,
@@ -58,6 +57,8 @@
5857
apilevel = "2.0"
5958
paramstyle = "pyformat"
6059

60+
from . import connections # noqa: E402
61+
6162

6263
class DBAPISet(frozenset):
6364
def __ne__(self, other):

0 commit comments

Comments
 (0)