summaryrefslogtreecommitdiff
path: root/tests/run/backquote.pyx
blob: a2a933c18d08ba323c8ab902abdc8f85f67494ea (plain)
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