a
    äze¼  ã                   @   s²   d Z ddlZG dd„ dƒZG dd„ deƒZG dd„ deƒZG d	d
„ d
eeƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZ	G dd„ dee	ƒZ
G dd„ deƒZe ed d¡ZdS )z$Something just to look at via pydoc.é    Nc                   @   sP   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ ZdS )Ú	A_classiczA classic class.c                 C   s   dS ©zMethod defined in A.N© ©Úselfr   r   ú&/usr/lib/python3.9/test/pydocfodder.pyÚA_method   s    zA_classic.A_methodc                 C   s   dS ©zMethod defined in A and B.Nr   r   r   r   r   Ú	AB_method	   s    zA_classic.AB_methodc                 C   s   dS ©zMethod defined in A and C.Nr   r   r   r   r   Ú	AC_method   s    zA_classic.AC_methodc                 C   s   dS ©zMethod defined in A and D.Nr   r   r   r   r   Ú	AD_method   s    zA_classic.AD_methodc                 C   s   dS ©zMethod defined in A, B and C.Nr   r   r   r   r   Ú
ABC_method   s    zA_classic.ABC_methodc                 C   s   dS ©zMethod defined in A, B and D.Nr   r   r   r   r   Ú
ABD_method   s    zA_classic.ABD_methodc                 C   s   dS ©zMethod defined in A, C and D.Nr   r   r   r   r   Ú
ACD_method   s    zA_classic.ACD_methodc                 C   s   dS ©z Method defined in A, B, C and D.Nr   r   r   r   r   ÚABCD_method   s    zA_classic.ABCD_methodN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r
   r   r   r   r   r   r   r   r   r   r   r      s   r   c                   @   sP   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ ZdS )Ú	B_classicú(A classic class, derived from A_classic.c                 C   s   dS r	   r   r   r   r   r   r
      s    zB_classic.AB_methodc                 C   s   dS r   r   r   r   r   r   r      s    zB_classic.ABC_methodc                 C   s   dS r   r   r   r   r   r   r      s    zB_classic.ABD_methodc                 C   s   dS r   r   r   r   r   r   r   !   s    zB_classic.ABCD_methodc                 C   s   dS ©zMethod defined in B.Nr   r   r   r   r   ÚB_method#   s    zB_classic.B_methodc                 C   s   dS ©zMethod defined in B and C.Nr   r   r   r   r   Ú	BC_method%   s    zB_classic.BC_methodc                 C   s   dS ©zMethod defined in B and D.Nr   r   r   r   r   Ú	BD_method'   s    zB_classic.BD_methodc                 C   s   dS ©zMethod defined in B, C and D.Nr   r   r   r   r   Ú
BCD_method)   s    zB_classic.BCD_methodN©r   r   r   r   r
   r   r   r   r   r    r"   r$   r   r   r   r   r      s   r   c                   @   sP   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ ZdS )Ú	C_classicr   c                 C   s   dS r   r   r   r   r   r   r   .   s    zC_classic.AC_methodc                 C   s   dS r   r   r   r   r   r   r   0   s    zC_classic.ABC_methodc                 C   s   dS r   r   r   r   r   r   r   2   s    zC_classic.ACD_methodc                 C   s   dS r   r   r   r   r   r   r   4   s    zC_classic.ABCD_methodc                 C   s   dS r   r   r   r   r   r   r    6   s    zC_classic.BC_methodc                 C   s   dS r#   r   r   r   r   r   r$   8   s    zC_classic.BCD_methodc                 C   s   dS ©zMethod defined in C.Nr   r   r   r   r   ÚC_method:   s    zC_classic.C_methodc                 C   s   dS ©zMethod defined in C and D.Nr   r   r   r   r   Ú	CD_method<   s    zC_classic.CD_methodN©r   r   r   r   r   r   r   r   r    r$   r(   r*   r   r   r   r   r&   ,   s   r&   c                   @   sP   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ ZdS )Ú	D_classicz6A classic class, derived from B_classic and C_classic.c                 C   s   dS r   r   r   r   r   r   r   A   s    zD_classic.AD_methodc                 C   s   dS r   r   r   r   r   r   r   C   s    zD_classic.ABD_methodc                 C   s   dS r   r   r   r   r   r   r   E   s    zD_classic.ACD_methodc                 C   s   dS r   r   r   r   r   r   r   G   s    zD_classic.ABCD_methodc                 C   s   dS r!   r   r   r   r   r   r"   I   s    zD_classic.BD_methodc                 C   s   dS r#   r   r   r   r   r   r$   K   s    zD_classic.BCD_methodc                 C   s   dS r)   r   r   r   r   r   r*   M   s    zD_classic.CD_methodc                 C   s   dS ©zMethod defined in D.Nr   r   r   r   r   ÚD_methodO   s    zD_classic.D_methodN©r   r   r   r   r   r   r   r   r"   r$   r*   r.   r   r   r   r   r,   ?   s   r,   c                   @   sœ   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ Zdd„ ZeeƒZdd„ ZeeƒZdd„ Zdd„ Zdd„ ZeeeeddZeZdS )ÚA_newzA new-style class.c                 C   s   dS r   r   r   r   r   r   r   V   s    zA_new.A_methodc                 C   s   dS r	   r   r   r   r   r   r
   X   s    zA_new.AB_methodc                 C   s   dS r   r   r   r   r   r   r   Z   s    zA_new.AC_methodc                 C   s   dS r   r   r   r   r   r   r   \   s    zA_new.AD_methodc                 C   s   dS r   r   r   r   r   r   r   ^   s    zA_new.ABC_methodc                 C   s   dS r   r   r   r   r   r   r   `   s    zA_new.ABD_methodc                 C   s   dS r   r   r   r   r   r   r   b   s    zA_new.ACD_methodc                 C   s   dS r   r   r   r   r   r   r   d   s    zA_new.ABCD_methodc                 C   s   dS )zA class method defined in A.Nr   )ÚclsÚxr   r   r   ÚA_classmethodg   s    zA_new.A_classmethodc                   C   s   dS )zA static method defined in A.Nr   r   r   r   r   ÚA_staticmethodk   s    zA_new.A_staticmethodc                 C   s   dS )zA property getter function.Nr   r   r   r   r   Ú_getxo   s    zA_new._getxc                 C   s   dS )zA property setter function.Nr   )r   Úvaluer   r   r   Ú_setxq   s    zA_new._setxc                 C   s   dS )zA property deleter function.Nr   r   r   r   r   Ú_delxs   s    zA_new._delxzA sample property defined in A.)ÚfdelÚfgetÚfsetÚdocN)r   r   r   r   r   r
   r   r   r   r   r   r   r3   Úclassmethodr4   Ústaticmethodr5   r7   r8   ÚpropertyZ
A_propertyÚintZA_int_aliasr   r   r   r   r0   S   s(   ÿr0   c                   @   sP   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ ZdS )ÚB_newú&A new-style class, derived from A_new.c                 C   s   dS r	   r   r   r   r   r   r
   }   s    zB_new.AB_methodc                 C   s   dS r   r   r   r   r   r   r      s    zB_new.ABC_methodc                 C   s   dS r   r   r   r   r   r   r      s    zB_new.ABD_methodc                 C   s   dS r   r   r   r   r   r   r   ƒ   s    zB_new.ABCD_methodc                 C   s   dS r   r   r   r   r   r   r   …   s    zB_new.B_methodc                 C   s   dS r   r   r   r   r   r   r    ‡   s    zB_new.BC_methodc                 C   s   dS r!   r   r   r   r   r   r"   ‰   s    zB_new.BD_methodc                 C   s   dS r#   r   r   r   r   r   r$   ‹   s    zB_new.BCD_methodNr%   r   r   r   r   rA   z   s   rA   c                   @   sP   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ ZdS )ÚC_newrB   c                 C   s   dS r   r   r   r   r   r   r   ‘   s    zC_new.AC_methodc                 C   s   dS r   r   r   r   r   r   r   “   s    zC_new.ABC_methodc                 C   s   dS r   r   r   r   r   r   r   •   s    zC_new.ACD_methodc                 C   s   dS r   r   r   r   r   r   r   —   s    zC_new.ABCD_methodc                 C   s   dS r   r   r   r   r   r   r    ™   s    zC_new.BC_methodc                 C   s   dS r#   r   r   r   r   r   r$   ›   s    zC_new.BCD_methodc                 C   s   dS r'   r   r   r   r   r   r(      s    zC_new.C_methodc                 C   s   dS r)   r   r   r   r   r   r*   Ÿ   s    zC_new.CD_methodNr+   r   r   r   r   rC   Ž   s   rC   c                   @   sP   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ ZdS )ÚD_newz5A new-style class, derived from B_new and C_new.
    c                 C   s   dS r   r   r   r   r   r   r   ¦   s    zD_new.AD_methodc                 C   s   dS r   r   r   r   r   r   r   ¨   s    zD_new.ABD_methodc                 C   s   dS r   r   r   r   r   r   r   ª   s    zD_new.ACD_methodc                 C   s   dS r   r   r   r   r   r   r   ¬   s    zD_new.ABCD_methodc                 C   s   dS r!   r   r   r   r   r   r"   ®   s    zD_new.BD_methodc                 C   s   dS r#   r   r   r   r   r   r$   °   s    zD_new.BCD_methodc                 C   s   dS r)   r   r   r   r   r   r*   ²   s    zD_new.CD_methodc                 C   s   dS r-   r   r   r   r   r   r.   ´   s    zD_new.D_methodNr/   r   r   r   r   rD   ¢   s   rD   c                   @   s\   e Zd ZdZdd„ ZG dd„ dƒZG dd„ dƒZG dd	„ d	ƒZeed
ƒed
ƒed
ƒdƒZ	dS )ÚFunkyPropertieszžFrom SF bug 472347, by Roeland Rengelink.

    Property getters etc may not be vanilla functions or methods,
    and this used to make GUI pydoc blow up.
    c                 C   s   ddi| _ d S )Nr2   r   )Údescr   r   r   r   Ú__init__¾   s    zFunkyProperties.__init__c                   @   s   e Zd Zdd„ Zdd„ ZdS )zFunkyProperties.get_descc                 C   s
   || _ d S ©N©Úattr©r   rJ   r   r   r   rG   Â   s    z!FunkyProperties.get_desc.__init__c                 C   s   t d| |ƒ |j| j S )Nz
Get called©ÚprintrF   rJ   ©r   Úinstr   r   r   Ú__call__Ä   s    z!FunkyProperties.get_desc.__call__N©r   r   r   rG   rP   r   r   r   r   Úget_descÁ   s   rR   c                   @   s   e Zd Zdd„ Zdd„ ZdS )zFunkyProperties.set_descc                 C   s
   || _ d S rH   rI   rK   r   r   r   rG   È   s    z!FunkyProperties.set_desc.__init__c                 C   s   t d| ||ƒ ||j| j< d S )Nz
Set calledrL   )r   rO   Úvalr   r   r   rP   Ê   s    z!FunkyProperties.set_desc.__call__NrQ   r   r   r   r   Úset_descÇ   s   rT   c                   @   s   e Zd Zdd„ Zdd„ ZdS )zFunkyProperties.del_descc                 C   s
   || _ d S rH   rI   rK   r   r   r   rG   Î   s    z!FunkyProperties.del_desc.__init__c                 C   s   t d| |ƒ |j| j= d S )Nz
Del calledrL   rN   r   r   r   rP   Ð   s    z!FunkyProperties.del_desc.__call__NrQ   r   r   r   r   Údel_descÍ   s   rU   r2   zprop xN)
r   r   r   r   rG   rR   rT   rU   r?   r2   r   r   r   r   rE   ·   s   rE   z
.submodulez8A submodule, which should appear in its parent's summary)r   Útypesr   r   r&   r,   Úobjectr0   rA   rC   rD   rE   Ú
ModuleTyper   Z	submoduler   r   r   r   Ú<module>   s   ' 
ÿ