관리-도구
편집 파일: __init__.cpython-312.opt-1.pyc
� �Q�f�� � � � d Z g d�ZddlZddlZddlmZ ddlmZ ddlm Z ddlm Z ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ ej8 j; e� dd lmZ ddlm Z G d� dejB � Z" G d� dejF � Z$ G d� dejJ � Z& G d� de'� Z( G d� de)� Z* ddlm*Z* ddlm+Z+ dddd�d�Z,d� Z- dd lm-Z- G d!� d"e)� Z. G d#� d$ej^ � Z0 G d%� d&ej^ � Z1 G d'� d(ej8 � Z2 G d)� d*ejf � Z4y# e$ r Y ��w xY w# e$ r Y ��w xY w# e$ r Y ��w xY w# e$ r Y ��w xY w# e$ r d� Z+Y ��w xY w# e$ r Y ��w xY w)+a? This module implements specialized container datatypes providing alternatives to Python's general purpose built-in containers, dict, list, set, and tuple. * namedtuple factory function for creating tuple subclasses with named fields * deque list-like container with fast appends and pops on either end * ChainMap dict-like class for creating a single view of multiple mappings * Counter dict subclass for counting hashable objects * OrderedDict dict subclass that remembers the order entries were added * defaultdict dict subclass that calls a factory function to supply missing values * UserDict wrapper around dictionary objects for easier dict subclassing * UserList wrapper around list objects for easier list subclassing * UserString wrapper around string objects for easier string subclassing ) �ChainMap�Counter�OrderedDict�UserDict�UserList� UserString�defaultdict�deque� namedtuple� N)�chain)�repeat)�starmap)� iskeyword)�eq)� itemgetter)�recursive_repr)�proxy)r )�_deque_iterator)r c � � e Zd Zd� Zy)�_OrderedDictKeysViewc # �J K � t | j � E d { ��� y 7 ��w�N��reversed�_mapping��selfs �;/opt/alt/python312/lib64/python3.12/collections/__init__.py�__reversed__z!_OrderedDictKeysView.__reversed__A s � �� ��D�M�M�*�*�*�s �#�!�#N��__name__� __module__�__qualname__r � � r r r ? s � �+r% r c � � e Zd Zd� Zy)�_OrderedDictItemsViewc # �f K � t | j � D ] }|| j | f�� � y �wr r �r �keys r r z"_OrderedDictItemsView.__reversed__F s- � �� ��D�M�M�*�C��� � �c�*�+�+� +�s �/1Nr r$ r% r r'