mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-25 01:38:36 +08:00
tests for @gwrtheyrn :-) #23
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
""" Mainly for stupid error reports of @gwrtheyrn. :-) """
|
||||||
|
|
||||||
|
import time
|
||||||
|
|
||||||
|
class Foo(object):
|
||||||
|
global time
|
||||||
|
asdf = time
|
||||||
|
|
||||||
|
def asdfy():
|
||||||
|
return Foo
|
||||||
|
|
||||||
|
xorz = getattr(asdfy()(), 'asdf')
|
||||||
|
#? time
|
||||||
|
xorz
|
||||||
Reference in New Issue
Block a user