관리-도구
편집 파일: config.cpython-37.opt-2.pyc
B YI~d� � @ s� d dl mZ d dlZd dlZd dlmZ d dlZG dd� de�ZG dd� de�Z G dd � d e�Z G d d� de�ZG dd � d e�ZG dd� d�Z e � Ze� Zdd� ZG dd� de�Zdd� Zedkr�d dlmZ edddd� dS )� )�ConfigParserN)�Fontc @ s e Zd ZdS )�InvalidConfigTypeN)�__name__� __module__�__qualname__� r r �3/opt/alt/python37/lib64/python3.7/idlelib/config.pyr # s r c @ s e Zd ZdS )�InvalidConfigSetN)r r r r r r r r $ s r c @ s e Zd ZdS )�InvalidThemeN)r r r r r r r r % s r c @ s0 e Zd Zddd�Zddd�Zdd� Zd d � ZdS ) �IdleConfParserNc C s || _ tj| |dd� d S )NF)�defaults�strict)�filer �__init__)�self�cfgFileZcfgDefaultsr r r r + s zIdleConfParser.__init__Fc C sL | � ||�s|S |dkr$| �||�S |dkr8| �||�S | j|||d�S d S )N�bool�int)�raw)� has_optionZ getbooleanZgetint�get)r �section�option�type�defaultr r r r �Get2 s zIdleConfParser.Getc C s | � |�r| �|�S g S d S )N)�has_section�options)r r r r r � GetOptionListC s zIdleConfParser.GetOptionListc C s | j r| �| j � d S )N)r �read)r r r r �LoadJ s zIdleConfParser.Load)N)NNF)r r r r r r r! r r r r r '