mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
9de46e416e
Forward compatible with newer Pythons.
8 lines
194 B
Python
8 lines
194 B
Python
import psycopg2.extensions
|
|
|
|
print(dir(psycopg2._psycopg))
|
|
print(psycopg2.extensions.new_type(
|
|
(600,), "POINT", lambda oids, name, fun: None))
|
|
print("ciccia ciccia")
|
|
print(psycopg2._psycopg)
|