# kwant.KwantDeprecationWarning¶

exception kwant.KwantDeprecationWarning[source]

Bases: Warning

Class of warnings about a deprecated feature of Kwant.

DeprecationWarning has been made invisible by default in Python 2.7 in order to not confuse non-developer users with warnings that are not relevant to them. In the case of Kwant, by far most users are developers, so we feel that a KwantDeprecationWarning that is visible by default is useful.

#### Previous topic

3.1. kwant – Top level package

#### Next topic

kwant.UserCodeError