<s> import urllib <EOL> from simpleapi import Namespace <EOL> class MyAPI ( Namespace ) : <EOL> def add_one ( self , a , b ) : <EOL> a = c + <NUM_LIT:1> <EOL> return a + b <EOL> add_one . published = True <EOL> add_one . constraints = lambda ns , key , val : int ( val ) <EOL> def download ( self , url ) : <EOL> return urllib . urlopen ( url ) . read ( ) <EOL> download . published = True </s>
