CodeString class

(Shortest import: from brian2.equations.codestrings import CodeString)

class brian2.equations.codestrings.CodeString(code)[source]

Bases: Hashable

A class for representing “code strings”, i.e. a single Python expression or a sequence of Python statements.

Attributes

code

The code string

Details

code

The code string