관리-도구
편집 파일: shelve.cpython-312.opt-2.pyc
� �Q�fp! � �� � d dl mZmZmZ d dlmZ d dlZg d�Z G d� dej j � Z G d� dej j � Z G d � d e� Z G d� de� Zdd �Zy)� )�DEFAULT_PROTOCOL�Pickler� Unpickler)�BytesION)�Shelf� BsdDbShelf�DbfilenameShelf�openc �2 � e Zd Z d� ZexZxZxZxZxZZ d� Z y)�_ClosedDictc � � t d� �)Nz!invalid operation on closed shelf)� ValueError)�self�argss �-/opt/alt/python312/lib64/python3.12/shelve.py�closedz_ClosedDict.closedE s � ��<�=�=� c � � y)Nz<Closed Dictionary>� �r s r �__repr__z_ClosedDict.__repr__I s � �$r N)�__name__� __module__�__qualname__r �__iter__�__len__�__getitem__�__setitem__�__delitem__�keysr r r r r r B s- � �D�>�JP�P�H�P�w�P��P�{�P�[�4�%r r c �d � e Zd Z dd�Zd� Zd� Zd� Zdd�Zd� Zd� Z d � Z d � Zd� Zd� Z d � Zd� Zy)r Nc �Z � || _ |�t }|| _ || _ i | _ || _ y �N)�dictr � _protocol� writeback�cache�keyencoding�r r$ �protocolr&