Your IP : 216.73.216.213
B
�d{T� � @ s� d Z dZddlmZ ddlmZ dZdZdZ G dd � d e
�ZG d
d� de
�ZG dd
� d
e
�ZG dd� de
�Zddd�Zdd� Zdd� ZdS )aI Logilab common library (aka Logilab's extension to the standard library).
:type STD_BLACKLIST: tuple
:var STD_BLACKLIST: directories ignored by default by the functions in
this package which have to recurse into directories
:type IGNORED_EXTENSIONS: tuple
:var IGNORED_EXTENSIONS: file extensions that may usually be ignored
zrestructuredtext en� )�range)�version)�CVSz.svnz.hg�debian�dist�build)z.pycz.pyoz.elc�~z.swpz.origTc @ s e Zd ZdZdd� ZdS )�attrdictz>A dictionary for which keys are also accessible as attributes.c C s* y| | S t k
r$ t|��Y nX d S )N)�KeyError�AttributeError)�self�attr� r �H/opt/alt/python37/lib/python3.7/site-packages/logilab/common/__init__.py�__getattr__, s zattrdict.__getattr__N)�__name__�
__module__�__qualname__�__doc__r r r r r r * s r c @ s e Zd Zdd� Zdd� ZdS )�dictattrc C s
|| _ d S )N)�_dictattr__proxy)r �proxyr r r �__init__3 s zdictattr.__init__c C s. yt | j|�S tk
r( t|��Y nX d S )N)�getattrr r r
)r r
r r r �__getitem__6 s zdictattr.__getitem__N)r r r r r r r r r r 2 s r c @ s e Zd Zdd� Zdd� ZeZdS )�
nullobjectc C s dS )Nz<nullobject>r )r r r r �__repr__= s znullobject.__repr__c C s dS )NFr )r r r r �__bool__? s znullobject.__bool__N)r r r r r �__nonzero__r r r r r <