At 12 characters, this is definitely not the shortest, but it is a totally different approach than the other solutions:
>>> f = lambda: g()if 0 else(1)
>>> f()
1 >>> f = lambda: g()if 0 else(1)
>>> f()
1 >>> f = lambda: g()if 0 else()
>>> f()
()