. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/python37/lib64/python3.7/idlelib/__pycache__/ |
Upload File : |
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 '