smpl_debug.debug.get_count

smpl_debug.debug.get_count(line, fname)[source]

Returns the counts of the line.

Parameters

lineint

The line in the python source of fname.

fnamestr

The filename.

Returns

countint

The count of the current line.

Examples

>>> get_count(1, "debug.py")
0