stringify function

(Shortest import: from brian2genn.device import stringify)

brian2genn.device.stringify(code)[source]

Helper function to prepare multiline strings (potentially including quotation marks) to be included in strings.