Skip to content

Commit

Permalink
Use relative import (PyMySQL#519)
Browse files Browse the repository at this point in the history
To allow (but not officially support) vendoring PyMySQL.
  • Loading branch information
niphlod authored and methane committed Oct 13, 2016
1 parent 40f6a70 commit 6c9d31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymysql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def Connect(*args, **kwargs):
from .connections import Connection
return Connection(*args, **kwargs)

from pymysql import connections as _orig_conn
from . import connections as _orig_conn
if _orig_conn.Connection.__init__.__doc__ is not None:
Connect.__doc__ = _orig_conn.Connection.__init__.__doc__
del _orig_conn
Expand Down

0 comments on commit 6c9d31a

Please sign in to comment.