HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //proc/self/root/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pyo
�
�@oRc@s*ddlmZdefd��YZdS(i����(t
get_validatort	ParametercBs�eZdZdddgZedd�Zd�Zed��Zej	d��Zd	�Z
ed
��Zej	d��ZRS(s
    .. 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'``
    t_debugt	validatort_profiletfullcCs||_||_dS(N(Rtprofile(tselftdebugR((s@/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pyt__init__ s	cCst|j|j�|_dS(N(RRRR(R((s@/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pyt_init_validator$scCs|jS(N(R(R((s@/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pyR'scCs||_|j�dS(N(RR
(RR((s@/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pyR+s	cCs|jdkrdSdSdS(Nttinys1.2s1.1(R(R((s@/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pytget_version0scCs|jS(N(R(R((s@/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pyR6scCsB|j�}|dkr.||_|j�ntd|��dS(st
        :param string profile: name of the SVG profile, valid profiles are:
        ``'full|basic|tiny'``

        RtbasicRs'%s' is not a valid profile.N(stinyR
R(tlowerRR
t
ValueError(RR((s@/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pyR:s
	
(t__name__t
__module__t__doc__t	__slots__tTrueR	R
tpropertyRtsetterRR(((s@/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pyRs		N(tsvgwrite.validator2RtobjectR(((s@/opt/alt/python27/lib/python2.7/site-packages/svgwrite/params.pyt<module>s