U
    ~d                     @   s   d dl mZmZmZmZmZmZmZ ddlm	Z	 e	  d dl
mZ d dlmZmZ zd dlmZ W n ek
rz   eZY nX G dd deZd	S )
    )nested_scopes
generatorsdivisionabsolute_importwith_statementprint_functionunicode_literals   )backport)
native_str)ABCMetaabstractmethod)ABCc                       s   e Zd ZeZedddZ fddZeedd Z	e	j
ed	d Z	eed
d Zej
edd Zedd Zedd Zedd Zedd Zedd Z  ZS )PropertyNFc                 C   s(   d | _ || _|| _|| _d | _|| _d S N)_typestypesnamerequired	_versionsversions)selfr   r   r   r    r   R/var/www/html/myproject/myenv/lib/python3.8/site-packages/serial/abc/properties.py__init__   s    zProperty.__init__c                    s&   dD ]}t | |s dS qt |S )zV
        Check an instance of a subclass to ensure it has required properties
        )r   r   r   r   F)hasattrsuper__instancecheck__)r   instance	attribute	__class__r   r   r   (   s    
zProperty.__instancecheck__c                 C   s   d S r   r   r   r   r   r   r   :   s    zProperty.typesc                 C   s   d S r   r   )r   Ztypes_or_propertiesr   r   r   r   @   s    c                 C   s   d S r   r   r"   r   r   r   r   F   s    zProperty.versionsc                 C   s   d S r   r   )r   r   r   r   r   r   L   s    c                 C   s   d S r   r   r   datar   r   r   	unmarshalU   s    zProperty.unmarshalc                 C   s   d S r   r   r#   r   r   r   marshalZ   s    zProperty.marshalc                 C   s   d S r   r   r"   r   r   r   __repr___   s    zProperty.__repr__c                 C   s   d S r   r   r"   r   r   r   __copy__d   s    zProperty.__copy__c                 C   s   d S r   r   )r   memor   r   r   __deepcopy__i   s    zProperty.__deepcopy__)NNFN)__name__
__module____qualname__r   Z__metaclass__r   r   r   propertyr   setterr   r%   r&   r'   r(   r*   __classcell__r   r   r    r   r      s<       



r   N)
__future__r   r   r   r   r   r   r   Zutilities.compatibilityr
   Zfuture.utilsr   abcr   r   r   ImportErrorobjectr   r   r   r   r   <module>   s   $
