mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
15 lines
197 B
Python
15 lines
197 B
Python
""" Mostly for stupid error reports of @dbrgn. :-) """
|
|
|
|
import time
|
|
|
|
class Foo(object):
|
|
global time
|
|
asdf = time
|
|
|
|
def asdfy():
|
|
return Foo
|
|
|
|
xorz = getattr(asdfy()(), 'asdf')
|
|
#? time
|
|
xorz
|