ok
Direktori : /opt/alt/python37/lib/python3.7/site-packages/svgwrite/__pycache__/ |
Current File : //opt/alt/python37/lib/python3.7/site-packages/svgwrite/__pycache__/params.cpython-37.pyc |
B s�] � @ s d dl mZ G dd� de�ZdS )� )� get_validatorc @ sh e Zd ZdZdddgZddd�Zd d � Zedd� �Zej d d� �Zdd� Z edd� �Zej dd� �ZdS )� Parametera .. attribute:: Parameter.debug *read/write* property * *True* : debug mode is on, all SVG attributes are checked if valid in the element context. Also the included SVG subelements will be checked if they are valid for the parent SVG element. * *False*: no validation checks will be done, but program execution is faster. .. attribute:: Parameter.profile *read/write* property name of the SVG profile, valid profiles are: ``'full|basic|tiny'`` �_debug� validator�_profileT�fullc C s || _ || _d S )N)r �profile)�self�debugr � r � /params.py�__init__ s zParameter.__init__c C s t | j| j�| _d S )N)r r r r )r r r r �_init_validator$ s zParameter._init_validatorc C s | j S )N)r )r r r r r '