o
    þÑÐbi  ã                   @   s˜   d Z ddlmZ ddlmZ ddlZdZG dd„ deƒZG d	d
„ d
eƒZ	G dd„ de	ejej
ejƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZdS )z4test for call to __init__ from a non ancestor class
é    )Úprint_functioné   )Ú
func_w0233Nz6$Id: func_w0233.py,v 1.2 2004-09-29 08:35:13 syt Exp $c                   @   ó   e Zd ZdZdd„ ZdS )ÚAAAAz
ancestor 1c                 C   s   t d| ƒ t | ¡ d S ©NÚinit)ÚprintÚ	BBBBMixinÚ__init__©Úself© r   ú[/var/www/secure340b-portal/env/lib/python3.10/site-packages/pylint/test/input/func_w0233.pyr      s   
zAAAA.__init__N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   
   ó    r   c                   @   r   )r
   z
ancestor 2c                 C   s   t d| ƒ d S r   )r	   r   r   r   r   r      s   zBBBBMixin.__init__Nr   r   r   r   r   r
      r   r
   c                   @   r   )ÚCCCz-mix different things, some inferable some notc                 C   s2   t  | ¡ tj | ¡ tj | ¡ tj | ¡ d S ©N)r
   r   r   r   ÚBBBBÚnonexistantÚAClassr   r   r   r   r      s   
zCCC.__init__Nr   r   r   r   r   r      ó    r   c                   @   r   )ÚDDDDz0call superclass constructor in disjunct branchesc                 C   s    |r	t  | ¡ d S t  | ¡ d S r   )r   r   )r   Úvaluer   r   r   r   !   s   zDDDD.__init__Nr   r   r   r   r   r      r   r   c                       ó    e Zd ZdZ‡ fdd„Z‡  ZS )ÚSuperz  test late binding super() call c                    ó   t ƒ }| ¡  d S r   )Úsuperr   ©r   Úbase©Ú	__class__r   r   r   )   ó   zSuper.__init__©r   r   r   r   r   Ú__classcell__r   r   r$   r   r   '   s    r   c                       r   )ÚSuper2zQ Using the same idiom as Super, but without calling
    the __init__ method.
    c                    r    r   )r!   Z
__woohoo__r"   r$   r   r   r   1   r&   zSuper2.__init__r'   r   r   r$   r   r)   -   s    r)   )r   Ú
__future__r   Ú r   r   Z__revision__Úobjectr   r
   r   r   r   r   Údictr   r)   r   r   r   r   Ú<module>   s   