virtualEnvironment/lib/python2.7/site-packages/coverage/control.py
def _source_for_file(self, filename):
        """Return the source file for `filename`."""
        if not filename.endswith(".py"):
            if filename[-4:-1] == ".py":
                filename = filename[:-1]
            elif filename.endswith("$py.class"): # jython
                filename = filename[:-9] + ".py"
        return filename
def _source_for_file(self, filename):
        if not filename.endswith(".py"):
            if filename[-4:-1] == ".py":
                filename = filename[:-1]
            elif filename.endswith("$py.class"): # jython
                filename = filename[:-9] + ".py"
        return filename
def _source_for_file ( self , filename ) : if not filename . endswith ( ".py" ) : if filename [ - 4 : - 1 ] == ".py" : filename = filename [ : - 1 ] elif filename . endswith ( "$py.class" ) : # jython filename = filename [ : - 9 ] + ".py" return filename
Return the source file for `filename`.
Return the source file for filename .