• Brett Cannon's avatar
    Move importlib.abc.SourceLoader.source_to_code() to InspectLoader. · 9ffe85e1
    Brett Cannon authored
    While the previous location was fine, it makes more sense to have the
    method higher up in the inheritance chain, especially at a point where
    get_source() is defined which is the earliest source_to_code() could
    programmatically be used in the inheritance tree in importlib.abc.
    9ffe85e1
abc.py 7.65 KB