libconfig.Config.ifndef

Config.ifndef()

Equivalent to C’s #IFNDEF.

If options are repeatedly registered inside this with statement, the resulting error is taken care.

Although in a library the declaration is only going to be done once, it is recomended to go through this process in order to avoid problems with _jupyter_ and the %autoreload setting.