brainpy.tools.codes.get_main_code#

brainpy.tools.codes.get_main_code(func, codes=None)[source]#

Get the main function _code string.

For lambda function, return the

Parameters

func (callable, Optional, int, float) –