o
    7 ¾hÐ  ã                   @  sL   d Z ddlmZ ddlmZ erddlmZ ddlmZ G dd„ de	ƒZ
dS )	z Objects used across sub-package.é    )Úannotations)ÚTYPE_CHECKING)ÚXmlPart)ÚProvidesPartc                      s0   e Zd ZdZd
‡ fdd„Zeddd	„ƒZ‡  ZS )ÚSubshapezÞProvides access to the containing part for drawing elements that occur below a shape.

    Access to the part is required for example to add or drop a relationship. Provides
    `self._parent` attribute to subclasses.
    Úparentr   c                   s   t t| ƒ ¡  || _d S )N)Úsuperr   Ú__init__Ú_parent)Úselfr   ©Ú	__class__© ú\/var/www/html/figdemos/bartoux_crm/venv/lib/python3.10/site-packages/pptx/shapes/__init__.pyr	      s   
zSubshape.__init__Úreturnr   c                 C  s   | j jS )z(The package part containing this object.)r
   Úpart)r   r   r   r   r      s   zSubshape.part)r   r   )r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   Úpropertyr   Ú__classcell__r   r   r   r   r      s
    r   N)r   Ú
__future__r   Útypingr   Úpptx.opc.packager   Ú
pptx.typesr   Úobjectr   r   r   r   r   Ú<module>   s    