shell bypass 403
o
_bX � @ s� d dl Z d dlZdZg d�ZdZdZdZdZd!dd �ZG d
d� d�Z d"dd
�Z
d!dd�Zedkr�e�
� Ze dded�Zee�� � ee�d�� ee�d�� ee�� � ee�d�� ee�d�� ee� � ee�d�e�d�� eejed�� e dd�Zee�d�ejded�� ejeded�Ze�� ejedejd�Ze�� e ed d��� Zejed � ejed� e�� dS dS )#� Nz0.9)�NORMAL�ROMAN�BOLD�ITALIC�
nametofont�Font�families�namesZnormalZroman�boldZitalicc C s t | d|d�S )zFGiven the name of a tk named font, returns a Font representation.
T)�name�exists�root)r )r r
� r �5/usr/local/python-3.10/lib/python3.10/tkinter/font.pyr s r c @ s� e Zd ZdZe�d�Zdd� Zdd� Zdd� Z d%dd�Z
d
d� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zd&dd�Zdd� Zdd � ZeZd'd!d"�Zd#d$� Zd S )(r a� Represents a named font.
Constructor options are:
font -- font specifier (name, system font, or (family, size, style)-tuple)
name -- name to use for this font configuration (defaults to a unique name)
exists -- does a named font by this name already exist?
Creates a new named font if False, points to the existing font if True.
Raises _tkinter.TclError if the assertion is false.
the following are ignored if font is specified:
family -- font 'family', e.g. Courier, Times, Helvetica
size -- font size in points
weight -- font thickness: NORMAL, BOLD
slant -- font slant: ROMAN, ITALIC
underline -- font underlining: false (0), true (1)
overstrike -- font strikeout: false (0), true (1)
� c C s: g }|� � D ]\}}|�d| � |�t|�� qt|�S �N�-)�items�append�str�tuple)�self�kw�options�k�vr r r �_set2 s
z Font._setc C s$ g }|D ] }|� d| � qt|�S r )r r )r �argsr r r r r �_get9 s z Font._getc C s: i }t dt|�d�D ]}||d ||| dd � <