#NEWLINE# def registerCodeObject( self , codeObject , codeObjectLineNumberBase ) : #NEWLINE# #INDENT# if ( codeObject . co_code not in self . codeStringToCodeObjectsAndLineNumber ) : #NEWLINE# #INDENT# self . codeStringToCodeObjectsAndLineNumber [ codeObject . co_code ] = [ ] #NEWLINE# #UNINDENT# self . codeStringToCodeObjectsAndLineNumber [ codeObject . co_code ] . append ( ( codeObjectLineNumberBase , ( ( codeObjectLineNumberBase + codeObject . co_firstlineno ) - 1 ) ) ) #NEWLINE# for child in codeObject . co_consts : #NEWLINE# #INDENT# if inspect . iscode ( child ) : #NEWLINE# #INDENT# self . registerCodeObject ( child , codeObjectLineNumberBase )