Don't leak private variables into the psycopg2.extensions interface

This commit is contained in:
Daniele Varrazzo 2011-09-22 14:34:14 +01:00
parent 8fb08efae7
commit cd6e2cd8f2

View File

@ -158,5 +158,6 @@ for k, v in encodings.items():
k = k.replace('_', '').replace('-', '').upper()
encodings[k] = v
del k, v
__all__ = filter(lambda k: not k.startswith('_'), locals().keys())