mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
tests for @gwrtheyrn :-) #23
This commit is contained in:
14
test/completion/complex.py
Normal file
14
test/completion/complex.py
Normal file
@@ -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