Package Bio :: Class BiopythonDeprecationWarning
[hide private]
[frames] | no frames]

Class BiopythonDeprecationWarning

source code

              object --+                
exceptions.BaseException --+            
        exceptions.Exception --+        
              exceptions.Warning --+    
                    BiopythonWarning --+

Biopython deprecation warning.

Biopython uses this warning instead of the built in DeprecationWarning since those are ignored by default since Python 2.7.

To silence all our deprecation warning messages, use:

>>> import warnings
>>> from Bio import BiopythonDeprecationWarning
>>> warnings.simplefilter('ignore', BiopythonDeprecationWarning)

Code marked as deprecated is likely to be removed in a future version of Biopython. To avoid removal of this code, please contact the Biopython developers by sending an email to

Instance Methods [hide private]

Inherited from exceptions.Warning: __init__, __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__