1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
def f(obj2): """ >>> f(20) '20' >>> f('test') "'test'" """ obj1 = `obj2` return obj1 def g(): """ >>> g() '42' """ obj1 = `42` return obj1