]> www.wagner.pp.ru Git - oss/ctypescrypto.git/blobdiff - ctypescrypto/exception.py
I've discovered Python's __all__ variable and make use of it in all modles
[oss/ctypescrypto.git] / ctypescrypto / exception.py
index f0f3c5343238cabcd382c68ebe03e9738760c7fc..43ba6a0b5a8858402f5fc0902d5b596bb54f1bdb 100644 (file)
@@ -1,6 +1,12 @@
+"""
+Exception which extracts libcrypto error information
+"""
 from ctypes import *
 from ctypescrypto import libcrypto
 strings_loaded=False
+
+__all__ = ['LibCryptoError','clear_err_stack']
+
 class LibCryptoError(Exception):
        """
                Exception for libcrypto errors. Adds all the info, which can be