PyCode_CheckLineNumber

Check whether lasti (an instruction offset) falls outside bounds and whether it is a line number that should be traced. Returns a line number if it should be traced or -1 if the line should not.

If lasti is not within bounds, updates bounds. */ /// Availability: 2.5,2.

version(!Python_2_7_Or_Later)
int
PyCode_CheckLineNumber

Meta