(Shortest import: from brian2.codegen.generators.numpy_generator import int_func)
from brian2.codegen.generators.numpy_generator import int_func)