mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-14 04:56:33 +03:00
Update psycopg1.py
This commit is contained in:
parent
5aa7588f56
commit
072b6ef98b
|
@ -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
|
||||
# License for more details.
|
||||
|
||||
import _psycopg as _2psycopg
|
||||
import psycopg2._psycopg as _2psycopg
|
||||
from psycopg2.extensions import cursor as _2cursor
|
||||
from psycopg2.extensions import connection as _2connection
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user