ACC SHELL

Path : /usr/lib/python/lib2to3/pgen2/
File Upload :
Current File : //usr/lib/python/lib2to3/pgen2/literals.pyc

Ñò
sÄMc@s•dZddkZh
dd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6Zd„Zd„Zd„ZedjoeƒndS(s<Safely evaluate Python string literals without using eval().iÿÿÿÿNstastbstfs
tns
trs	ttstvt't"s\cCs|iddƒ\}}|idƒpt‚ti|ƒ}|dj	o|S|idƒon|d}t|ƒdjotd|ƒ‚nyt|dƒ}Wqtj
otd|ƒ‚qXn:yt|dƒ}Wn#tj
otd	|ƒ‚nXt	|ƒS(
Niis\txis!invalid hex string escape ('\%s')iis#invalid octal string escape ('\%s')(
tgroupt
startswithtAssertionErrortsimple_escapestgettNonetlent
ValueErrortinttchr(tmtallttailtescthexesti((s,/usr/lib/python2.6/lib2to3/pgen2/literals.pytescapes$

cCsÝ|idƒp$|idƒptt|d ƒ‚|d}|d |djo|d}n|i|ƒptt|t|ƒƒ‚t|ƒdt|ƒjpt‚|t|ƒt|ƒ!}tidt|ƒS(NRRiiiis)\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3})(RRtreprtendswithRtretsubR(tstq((s,/usr/lib/python2.6/lib2to3/pgen2/literals.pyt
evalString(s4
+$cCsaxZtdƒD]L}t|ƒ}t|ƒ}t|ƒ}||jo|G|G|G|GHq
q
WdS(Ni(trangeRRR!(RtcRte((s,/usr/lib/python2.6/lib2to3/pgen2/literals.pyttest2s

t__main__(t__doc__RR
RR!R%t__name__(((s,/usr/lib/python2.6/lib2to3/pgen2/literals.pyt<module>s 

		
		


ACC SHELL 2018