
    li                    R    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e	      Z
y)	z Objects used across sub-package.    )annotations)TYPE_CHECKING)XmlPart)ProvidesPartc                  6     e Zd ZdZd fdZedd       Z xZS )SubshapezProvides 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.
    c                8    t         t        |           || _        y )N)superr   __init___parent)selfparent	__class__s     R/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/pptx/shapes/__init__.pyr   zSubshape.__init__   s    h&(    c                .    | j                   j                  S )z(The package part containing this object.)r   part)r   s    r   r   zSubshape.part   s     ||   r   )r   r   )returnr   )__name__
__module____qualname____doc__r   propertyr   __classcell__)r   s   @r   r   r      s!     ! !r   r   N)r   
__future__r   typingr   pptx.opc.packager   
pptx.typesr   objectr    r   r   <module>r!      s#    & "  ('!v !r   