mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 10:23:43 +03:00
Merge pull request #375 from kwotuveang3k4bk/patch-1
Update psycopg1.py
This commit is contained in:
commit
b737757eac
|
@ -28,7 +28,7 @@ old code while porting to psycopg 2. Import it as follows::
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
||||||
# License for more details.
|
# License for more details.
|
||||||
|
|
||||||
import _psycopg as _2psycopg
|
import psycopg2._psycopg as _2psycopg
|
||||||
from psycopg2.extensions import cursor as _2cursor
|
from psycopg2.extensions import cursor as _2cursor
|
||||||
from psycopg2.extensions import connection as _2connection
|
from psycopg2.extensions import connection as _2connection
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user