

def part_class_selector(content_type, reltype):
    if (content_type == RT.IMAGE):
        return ImagePart
    return None

dataset/ETHPy150Open python-openxml/python-docx/docx/__init__.py part_class_selector/VarMisuse@14/20 `reltype`->`content_type`