mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-03-03 23:55:46 +03:00
Added deprecation warning to register_tstz_w_secs
This commit is contained in:
parent
deb2d9050f
commit
b263fbf274
|
@ -27,6 +27,7 @@ and classes untill a better place in the distribution is found.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
|
import warnings
|
||||||
import re as regex
|
import re as regex
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -443,7 +444,7 @@ def register_tstz_w_secs(oids=None, conn_or_curs=None):
|
||||||
These are now correctly handled by the default type caster, so currently
|
These are now correctly handled by the default type caster, so currently
|
||||||
the function doesn't do anything.
|
the function doesn't do anything.
|
||||||
"""
|
"""
|
||||||
pass
|
warnings.warn("deprecated", DeprecationWarning)
|
||||||
|
|
||||||
|
|
||||||
import select
|
import select
|
||||||
|
|
Loading…
Reference in New Issue
Block a user