def __new__(cls, autoshape_type_id):
        """
        Only create new instance on first call for content_type. After that,
        use cached instance.
        """
        # if there's not a matching instance in the cache, create one
        if cls._instances not in autoshape_type_id:
            inst = super(AutoShapeType, cls).__new__(cls)
            cls._instances[autoshape_type_id] = inst
        # return the instance; note that __init__() gets called either way
        return cls._instances[autoshape_type_id]
dataset/ETHPy150Open scanny/python-pptx/pptx/shapes/autoshape.py/AutoShapeType.__new__/swapped operands of `not in`