AlkantarClanX12
Current Path : /opt/alt/python39/lib64/python3.9/__pycache__/ |
Current File : //opt/alt/python39/lib64/python3.9/__pycache__/mailbox.cpython-39.pyc |
a R�f�3 � @ s> d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Zddl ZddlZddlZddl mZ zddlZW n ey� dZY n0 g d�Zej�d�ZG dd� d�ZG dd � d e�ZG d d� de�ZG dd � d e�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� dejj�ZG dd� de�ZG dd� de�ZG dd� de�Z G dd� de�Z!G d d!� d!e�Z"G d"d#� d#e�Z#G d$d%� d%�Z$G d&d'� d'e$�Z%d?d)d*�Z&d+d,� Z'd-d.� Z(d/d0� Z)d1d2� Z*d3d4� Z+G d5d6� d6e,�Z-G d7d8� d8e-�Z.G d9d:� d:e-�Z/G d;d<� d<e-�Z0G d=d>� d>e-�Z1dS )@zDRead/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes.� N)�GenericAlias)�Mailbox�Maildir�mbox�MH�Babyl�MMDF�Message�MaildirMessage�mboxMessage� MHMessage�BabylMessage�MMDFMessage�Error�NoSuchMailboxError� NotEmptyError�ExternalClashError�FormatError�asciic @ s e Zd ZdZdCdd�Zdd� Zdd � Zd d� Zdd � Zdd� Z dDdd�Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,d-� Zd.d/� ZdEd0d1�Zd2d3� ZdFd4d5�Zd6d7� Zd8d9� Zd:d;� Zd<d=� Z d>d?� Z!d@Z"dGdAdB�Z#e$e%�Z&dS )Hr z*A group of messages in a particular place.NTc C s t j�t j�|��| _|| _dS )zInitialize a Mailbox instance.N)�os�path�abspath� expanduser�_path�_factory��selfr �factory�create� r �,/opt/alt/python39/lib64/python3.9/mailbox.py�__init__% s zMailbox.__init__c C s t d��dS )�$Add message and return assigned key.�&Method must be implemented by subclassN��NotImplementedError�r �messager r r �add* s zMailbox.addc C s t d��dS )�=Remove the keyed message; raise KeyError if it doesn't exist.r# Nr$ �r �keyr r r �remove. s zMailbox.removec C s | � |� d S �N)r, r* r r r �__delitem__2 s zMailbox.__delitem__c C s&