ok
Direktori : /opt/alt/python35/lib64/python3.5/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/__pycache__/shelve.cpython-35.opt-2.pyc |
���]P! � @ s� d d l m Z m Z d d l m Z d d l Z d d d d g Z Gd d � d e j � Z Gd d � d e j � Z Gd d � d e � Z Gd d � d e � Z d d d d d � Z d S)� )�Pickler� Unpickler)�BytesION�Shelf� BsdDbShelf�DbfilenameShelf�openc @ sB e Z d Z d d � Z e Z Z Z Z Z Z d d � Z d S)�_ClosedDictc G s t d � � d S)Nz!invalid operation on closed shelf)� ValueError)�self�args� r �+/opt/alt/python35/lib64/python3.5/shelve.py�closedE s z_ClosedDict.closedc C s d S)Nz<Closed Dictionary>r )r r r r �__repr__I s z_ClosedDict.__repr__N)�__name__� __module__�__qualname__r �__iter__�__len__�__getitem__�__setitem__�__delitem__�keysr r r r r r B s r c @ s� e Z d Z d d d d d � Z d d � Z d d � Z d d � Z d 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 d S)r NFzutf-8c C sC | | _ | d k r d } | | _ | | _ i | _ | | _ d S)N� )�dict� _protocol� writeback�cache�keyencoding)r r �protocolr r r r r �__init__T s zShelf.__init__c c s/ x( | j j � D] } | j | j � Vq Wd S)N)r r �decoder )r �kr r r r ^ s zShelf.__iter__c C s t | j � S)N)�lenr )r r r r r b s z Shelf.__len__c C s | j | j � | j k S)N)�encoder r )r �keyr r r �__contains__e s zShelf.__contains__c C s'