mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 02:43:43 +03:00
Update psycopg1.py
This commit is contained in:
parent
fe4cb0d493
commit
b3def74002
|
@ -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