<s> import re <EOL> def deserialize ( d , ** kw ) : <EOL> names = re . sub ( "<STR_LIT>" , "<STR_LIT:U+0020>" , d ) . split ( ) <EOL> if names [ : <NUM_LIT:1> ] != [ '<STR_LIT>' ] : <EOL> names . insert ( <NUM_LIT:0> , '<STR_LIT>' ) <EOL> return ( <EOL> [ ( '<STR_LIT>' % i , v_name ) <EOL> for i , v_name in enumerate ( names ) ] , <EOL> [ ( '<STR_LIT>' % i , None , '<STR_LIT>' % i , '<STR_LIT>' % ( i + <NUM_LIT:1> ) ) <EOL> for i in range ( len ( names ) - <NUM_LIT:1> ) ] ) </s>
